Skip to content

Commit

Permalink
Merge pull request #806 from amansinghbais/#805
Browse files Browse the repository at this point in the history
Improved: disabling save button in tracking code modal in case of no shipment methods and sorted order payment preferences in descending order of created date (#805)
  • Loading branch information
ravilodhi authored Oct 9, 2024
2 parents 2e3e107 + fa8f86c commit 73003b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/GenerateTrackingCodeModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
</ion-content>

<ion-fab vertical="bottom" horizontal="end" slot="fixed">
<ion-fab-button :disabled="isGeneratingShippingLabel ? true : isTrackingRequired ? !shipmentMethodTypeId : false" @click="confirmSave()">
<ion-fab-button :disabled="isGeneratingShippingLabel ? true : !shipmentMethodTypeId" @click="confirmSave()">
<ion-icon :icon="isForceScanEnabled ? barcodeOutline : saveOutline" />
</ion-fab-button>
</ion-fab>
Expand Down
1 change: 1 addition & 0 deletions src/store/modules/orderLookup/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ const actions: ActionTree<OrderLookupState, RootState> = {
statusId: "PAYMENT_CANCELLED",
statusId_op: "notEqual"
},
orderBy: "createdDate DESC",
viewSize: 50,
fieldList: ["paymentMethodTypeId", "maxAmount", "statusId"],
entityName: "OrderPaymentPreference"
Expand Down

0 comments on commit 73003b0

Please sign in to comment.