From 1abc99fe1081117845a1ccf0c866d77aed7dca40 Mon Sep 17 00:00:00 2001 From: Omair Saleh Date: Sun, 30 Oct 2022 18:46:14 +0800 Subject: [PATCH] fix payment due date days filter --- .../paymentsBilling/elements/PaymentFilterComponent.vue | 2 +- .../sections/AdminPaymentsBillingSectionComponent.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/assets/vue/components/paymentsBilling/elements/PaymentFilterComponent.vue b/resources/assets/vue/components/paymentsBilling/elements/PaymentFilterComponent.vue index f63ad4d6..6d208fe2 100644 --- a/resources/assets/vue/components/paymentsBilling/elements/PaymentFilterComponent.vue +++ b/resources/assets/vue/components/paymentsBilling/elements/PaymentFilterComponent.vue @@ -63,7 +63,7 @@ fetchPaymentList(){ this.$store.dispatch('reloadList', {name: this.section}); - this.$store.dispatch('updateListQueue', {name: this.section, page:1, filters: {per_page:5, has_invoice_status_in:[2], payment_day:this.parameters.due, credit_term:this.parameters.segment }}); + this.$store.dispatch('updateListQueue', {name: this.section, page:1, filters: {per_page:5, has_invoice_status_in:[2], payment_day:this.parameters.due, credit_term:this.parameters.segment, order_by: {column: 'updated_at', DESC: true}}}); //this.$store.dispatch('toggleSection', {name: this.section, status: true}); //this.$store.dispatch('updateListQueue', {name: this.section, page:1, filters: {per_page:5, group_by: 'transactions.id', payment_day:this.due,has_invoice_status_in:[2] /*,credit_term:[0.0]*/ }}); diff --git a/resources/assets/vue/components/paymentsBilling/sections/AdminPaymentsBillingSectionComponent.vue b/resources/assets/vue/components/paymentsBilling/sections/AdminPaymentsBillingSectionComponent.vue index fbfe5961..b4d5fd4c 100644 --- a/resources/assets/vue/components/paymentsBilling/sections/AdminPaymentsBillingSectionComponent.vue +++ b/resources/assets/vue/components/paymentsBilling/sections/AdminPaymentsBillingSectionComponent.vue @@ -121,7 +121,7 @@
- +