mirror of
https://github.com/frappe/books.git
synced 2025-01-22 22:58:28 +00:00
fix(ux): show outstanding amount in widget
This commit is contained in:
parent
900639734a
commit
38f538453c
@ -36,8 +36,8 @@
|
||||
<span class="text-gray-600" v-if="!fullyPaid(invoice)">
|
||||
({{
|
||||
frappe.format(
|
||||
invoice.baseGrandTotal,
|
||||
invoiceMeta.getField('baseGrandTotal')
|
||||
invoice.outstandingAmount,
|
||||
invoiceMeta.getField('outstandingAmount')
|
||||
)
|
||||
}})
|
||||
</span>
|
||||
@ -49,9 +49,9 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { routeTo } from '@/utils';
|
||||
import frappe from 'frappe';
|
||||
import { getStatusColumn } from '../Transaction/Transaction';
|
||||
import { routeTo } from '@/utils';
|
||||
|
||||
export default {
|
||||
name: 'PartyWidget',
|
||||
|
Loading…
x
Reference in New Issue
Block a user