changes
This commit is contained in:
@@ -3,14 +3,25 @@ const props = defineProps({
|
||||
invoice: Object,
|
||||
});
|
||||
|
||||
const { $dayjs, $shortenCurrency } = useNuxtApp();
|
||||
const { $getdata, $dayjs, $shortenCurrency } = useNuxtApp();
|
||||
const paymentRecords = ref([]);
|
||||
onMounted(async () => {
|
||||
paymentRecords.value = await $getdata("Payment_Record", {
|
||||
filter: { invoice: props.invoice.id },
|
||||
});
|
||||
});
|
||||
|
||||
/*
|
||||
|
||||
*/
|
||||
/* invoice.total_amount */
|
||||
const showModal = ref();
|
||||
|
||||
function openModal() {
|
||||
showModal.value = {
|
||||
component: "orders/SelectedOrder",
|
||||
title: "Chi tiết đơn hàng",
|
||||
width: "75%",
|
||||
width: "min(700px, 75%)",
|
||||
vbind: {
|
||||
invoice: props.invoice,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user