Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved: Pre-order page changed to Pre-sell page. #624

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/authorization/Rules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
"APP_FULFILLMENT_VIEW": "",
"APP_INVENTORY_VIEW": "",
"APP_PRODUCT_VIEW": "",
"APP_PREORDER_VIEW": "",
"APP_PRESELL_VIEW": "",
"APP_ORDERS_VIEW": "",
"APP_JOB_DETAILS_VIEW": "",
"APP_INITIAL_LOAD_VIEW": "",
Expand Down
6 changes: 3 additions & 3 deletions src/components/Menu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -162,13 +162,13 @@ export default defineComponent({
}
},
{
title: "Pre-order",
url: "/pre-order",
title: "Pre-sell",
url: "/pre-sell",
iosIcon: calendarNumberOutline,
mdIcon: calendarNumberOutline,
dependsOnBaseURL: false,
meta: {
permissionId: "APP_PREORDER_VIEW"
permissionId: "APP_PRESELL_VIEW"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,10 @@
"Pinned": "Pinned",
"Pinned jobs": "Pinned jobs",
"Pipeline": "Pipeline",
"Pre-order": "Pre-order",
"Pre-Order": "Pre-Order",
"Pre-order parking": "Pre-order parking",
"Pre-orders": "Pre-orders",
"Pre-sell": "Pre-sell",
"Pre-sell catalog": "Pre-sell catalog",
"Pre-sell on Shopify": "Pre-sell on Shopify",
"Process Uploads": "Process Uploads",
Expand Down
10 changes: 5 additions & 5 deletions src/router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Fulfillment from '@/views/Fulfillment.vue';
import Inventory from '@/views/Inventory.vue'
import Product from '@/views/Product.vue'
import Pipeline from '@/views/Pipeline.vue'
import PreOrder from '@/views/PreOrder.vue'
import PreSell from '@/views/PreSell.vue'
import Orders from '@/views/Orders.vue'
import JobDetails from '@/views/JobDetails.vue'
import InitialLoad from '@/views/InitialLoad.vue'
Expand Down Expand Up @@ -82,12 +82,12 @@ const routes: Array<RouteRecordRaw> = [
}
},
{
path: '/pre-order',
name: 'PreOrder',
component: PreOrder,
path: '/pre-sell',
name: 'PreSell',
component: PreSell,
beforeEnter: authGuard,
meta: {
permissionId: "APP_PREORDER_VIEW"
permissionId: "APP_PRESELL_VIEW"
}
},
{
Expand Down
4 changes: 2 additions & 2 deletions src/views/PreOrder.vue → src/views/PreSell.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<ion-header :translucent="true">
<ion-toolbar>
<ion-menu-button slot="start" />
<ion-title>{{ $t("Pre-order") }}</ion-title>
<ion-title>{{ $t("Pre-sell") }}</ion-title>
</ion-toolbar>
</ion-header>

Expand Down Expand Up @@ -190,7 +190,7 @@ import { Actions, hasPermission } from '@/authorization'
import { openOutline } from 'ionicons/icons'

export default defineComponent({
name: 'PreOrder',
name: 'PreSell',
components: {
IonButton,
IonCard,
Expand Down
Loading