sort customers by total payments

This commit is contained in:
omair saleh
2021-10-09 12:42:25 +08:00
parent b3fccad498
commit 66f0981b38
+1 -1
View File
@@ -564,7 +564,7 @@
<div class="row no-margin" v-if="$store.getters.isAdmin">
<div class="col bg-white padding-25">
<div class="row tabsContainer tabContent" tab-name="customer-list">
<list-component key="2" section="customerListSection" :endpoint="route('api.company.list')" :options="{'with_total_payments': true, 'business_type': 2, with_bookings:true, order_by:{ column:'total_payments', DESC:false}}">
<list-component key="2" section="customerListSection" :endpoint="route('api.company.list')" :options="{'with_total_payments': true, 'business_type': 2, with_bookings:true, order_by:{ column:'total_payments', DESC:true}}">
<template slot="list" slot-scope="{data}">
<company-list-component :data="data"></company-list-component>
</template>