filter po's without payments

This commit is contained in:
omair saleh
2022-10-20 13:46:20 +08:00
parent 08ab6dd9c3
commit 998e3da41d
@@ -202,7 +202,7 @@
</div>
<div class="row">
<div class="col">
<list-component key="2" section="poPendingApprovalSection" :endpoint="route('api.booking.list')" :options="{per_page: 10, purchase_order_approval: true}">
<list-component key="2" section="poPendingApprovalSection" :endpoint="route('api.booking.list')" :options="{per_page: 10, purchase_order_approval: true, has_payment_status_in: [2, 3]}">
<template slot="list" slot-scope="{data}">
<booking-component :data="data"></booking-component>
</template>
@@ -220,7 +220,7 @@
</div>
<div class="row">
<div class="col">
<list-component key="2" section="poPendingSubmissionSection" :endpoint="route('api.booking.list')" :options="{per_page: 10, pending_purchase_order: true}">
<list-component key="2" section="poPendingSubmissionSection" :endpoint="route('api.booking.list')" :options="{per_page: 10, pending_purchase_order: true, has_payment_status_in: [2, 3]}">
<template slot="list" slot-scope="{data}">
<booking-component :data="data"></booking-component>
</template>
@@ -310,4 +310,4 @@
</div>
</div>
</div>
</div>
</div>