fix wallet bug

This commit is contained in:
omair saleh
2022-03-02 11:34:34 +08:00
parent 7e07a93131
commit b2f4d10c10
2 changed files with 7 additions and 7 deletions
@@ -9,8 +9,8 @@
<div class="row">
<div class="col">
<div class="font-heading all-caps fs-11">
<a :href="route('customer.profile', data.marking)">
{{data.marking}}
<a :href="route('customer.profile', data.booking.marking)">
{{data.booking.marking}}
</a>
</div>
</div>
@@ -24,7 +24,7 @@
</div>
<div class="row">
<div class="col">
<div class="font-heading all-caps fs-11">{{data.created_at}}</div>
<div class="font-heading all-caps fs-11">{{data.updated_at}}</div>
</div>
</div>
</div>
@@ -82,28 +82,28 @@
<div class="row no-margin">
<div class="col bg-white padding-25">
<div class="row tabsContainer tabContent m-l-0 m-r-0" tab-name="top-up">
<list-component key="2" section="topUp" :endpoint="route('api.transaction.wallet.list')" :options="{type: 5, owner_type: 'App\\Models\\Wallet', per_page: 30}">
<list-component key="2" section="topUp" :endpoint="route('api.transaction.wallet.list')" :options="{type: 5, status: 2, owner_type: 'App\\Models\\Wallet', per_page: 30}">
<template slot="list" slot-scope="{data}">
<wallet-transaction-component :data="data"></wallet-transaction-component>
</template>
</list-component>
</div>
<div class="row tabsContainer tabContent hide m-l-0 m-r-0 hide" tab-name="payments">
<list-component key="2" section="payments" :endpoint="route('api.transaction.wallet.list')" :options="{type: 1, owner_type: 'App\\Models\\Wallet', per_page: 30}">
<list-component key="2" section="payments" :endpoint="route('api.transaction.wallet.list')" :options="{type: 1, status: 2, owner_type: 'App\\Models\\Wallet', per_page: 30}">
<template slot="list" slot-scope="{data}">
<wallet-transaction-component :data="data"></wallet-transaction-component>
</template>
</list-component>
</div>
<div class="row tabsContainer tabContent hide m-l-0 m-r-0 hide" tab-name="credit-note">
<list-component key="2" section="creditNote" :endpoint="route('api.transaction.wallet.list')" :options="{type: 9, owner_type: 'App\\Models\\Wallet', per_page: 30}">
<list-component key="2" section="creditNote" :endpoint="route('api.transaction.wallet.list')" :options="{type: 9, status: 2, owner_type: 'App\\Models\\Wallet', per_page: 30}">
<template slot="list" slot-scope="{data}">
<wallet-transaction-component :data="data"></wallet-transaction-component>
</template>
</list-component>
</div>
<div class="row tabsContainer tabContent hide m-l-0 m-r-0 hide" tab-name="debit-note">
<list-component key="2" section="debitNote" :endpoint="route('api.transaction.wallet.list')" :options="{type: 11, owner_type: 'App\\Models\\Wallet', per_page: 30}">
<list-component key="2" section="debitNote" :endpoint="route('api.transaction.wallet.list')" :options="{type: 11, status: 2, owner_type: 'App\\Models\\Wallet', per_page: 30}">
<template slot="list" slot-scope="{data}">
<wallet-transaction-component :data="data"></wallet-transaction-component>
</template>