Ver Fonte

see also (1&2) #95

ali há 3 anos atrás
pai
commit
ca350fdf4a

+ 0 - 7
src/components/Widgets/Payment/AdminPaymentList/AdminPaymentList.vue

@@ -129,13 +129,6 @@ export default {
             align: 'left',
             field: row => row.amount.toLocaleString('fa')
           },
-          {
-            name: 'invoice_info.status',
-            required: true,
-            label: 'وضعیت',
-            align: 'left',
-            field: row => (new Invoice(row.invoice_info)).status_info.label
-          },
           {
             name: 'creation_time',
             required: true,

+ 1 - 0
src/components/Widgets/Payment/PaymentList/PaymentList.vue

@@ -160,6 +160,7 @@ export default {
   mounted() {
     this.setOwner()
     this.setActionBtn()
+    this.$bus.on('ReloadUserPayments', this.search)
     this.mounted = true
   },
   methods: {

+ 1 - 0
src/components/Widgets/Wallet/MyWallet/MyWallet.vue

@@ -144,6 +144,7 @@ export default {
           this.shabaNumber = null
           this.withdrawAmount = null
           this.getMyWallet()
+          this.$bus.emit('ReloadUserPayments')
         })
         .catch(() => {
           this.wallet.loading = false