Skip to content

Commit

Permalink
Merge pull request #292 from R-Sourabh/#291-job-filter
Browse files Browse the repository at this point in the history
Fixed: Jobs now filtered on the basis of runTime(#291)
  • Loading branch information
ymaheshwari1 authored Jul 9, 2024
2 parents 9327121 + 3a4721d commit 5850a30
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/store/modules/stock/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,8 @@ const actions: ActionTree<StockState, RootState> = {
"statusId": "SERVICE_PENDING",
'systemJobEnumId': "JOB_SCHEDULED_RSTK",
'systemJobEnumId_op': 'equals',
'orderBy': 'runTime ASC'
},
"orderBy": "runTime ASC",
"noConditionFind": "Y",
"viewSize": 50
} as any
Expand Down
2 changes: 1 addition & 1 deletion src/views/ScheduledRestock.vue
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ export default defineComponent({
return popover.present();
},
async review() {
emitter.emit("presentLoader")
const areAllFieldsSelected = Object.values(this.fieldMapping).every(field => field !== "");
if (!areAllFieldsSelected) {
showToast(translate("Select all the fields to continue"));
Expand Down
3 changes: 2 additions & 1 deletion src/views/ScheduledRestockReview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
</ion-list>
</div>
</div>
<div v-if="!parsedItems.length">
<div v-if="!parsedItems.length" class="empty-state">
<p>{{ translate("No products found") }}</p>
</div>
<div v-else>
Expand Down Expand Up @@ -404,6 +404,7 @@ export default defineComponent({
.filters {
grid-area: filters;
max-width: 650px;
}
ion-content {
Expand Down

0 comments on commit 5850a30

Please sign in to comment.