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

Updated: UI for packing slip card on settings page (#85zrmkrmq) #182

Merged
merged 1 commit into from
Feb 9, 2023
Merged
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
4 changes: 3 additions & 1 deletion src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"Facility": "Facility",
"Failed to load packing slip": "Failed to load packing slip",
"First name": "First name",
"Generate packing slips": "Generate packing slips",
"Go to OMS": "Go to OMS",
"Handover": "Handover",
"Inactive store": "Inactive store",
Expand Down Expand Up @@ -52,7 +53,8 @@
"Orders Not Found": "Orders Not Found",
"Other stores": "Other stores",
"Packed": "Packed",
"Packing slip": "Packing slip",
"Packing Slip": "Packing Slip",
"Packing slips help customer reconcile their order against the delivered items.": "Packing slips help customer reconcile their order against the delivered items.",
"Password": "Password",
"pending approval": "pending approval",
"Products not found": "Products not found",
Expand Down
11 changes: 6 additions & 5 deletions src/views/Settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,16 @@

<ion-card>
<ion-card-header>
<ion-card-subtitle>
{{ $t("Packing slip") }}
</ion-card-subtitle>
<ion-card-title>
{{ $t("Packing slip") }}
{{ $t("Packing Slip") }}
</ion-card-title>
</ion-card-header>
<ion-card-content>
{{ $t('Packing slips help customer reconcile their order against the delivered items.') }}
</ion-card-content>
<ion-item lines="none">
<ion-toggle :checked="showPackingSlip" @ionChange="setShowPackingSlipPreference($event)" slot="end" />
<ion-label>{{ $t("Generate packing slips") }}</ion-label>
<ion-toggle :checked="showShippingOrders" @ionChange="setShowShippingOrdersPreference($event)" slot="end" />
</ion-item>
</ion-card>
</section>
Expand Down