Added stub for handling status button clicks for invoices.
This commit is contained in:
parent
a4022a8920
commit
f2bfdbebf5
@ -37,13 +37,16 @@ const columns = [
|
|||||||
type: "status-button",
|
type: "status-button",
|
||||||
sortable: true,
|
sortable: true,
|
||||||
buttonVariant: "outlined",
|
buttonVariant: "outlined",
|
||||||
onStatusClick: (status, rowData) => handleEstimateClick(status, rowData),
|
onStatusClick: (status, rowData) => handleInvoiceClick(status, rowData),
|
||||||
//disableCondition: (status) => status?.toLowerCase() === "draft",
|
//disableCondition: (status) => status?.toLowerCase() === "draft",
|
||||||
disableCondition: false
|
disableCondition: false
|
||||||
},
|
},
|
||||||
{ label: "Grand Total", fieldName: "grandTotal", type: "text", sortable: true },
|
{ label: "Grand Total", fieldName: "grandTotal", type: "text", sortable: true },
|
||||||
];
|
];
|
||||||
|
|
||||||
|
const handleInvoiceClick = () => {
|
||||||
|
}
|
||||||
|
|
||||||
const handleLazyLoad = async (event) => {
|
const handleLazyLoad = async (event) => {
|
||||||
console.log("Invoices page - handling lazy load:", event);
|
console.log("Invoices page - handling lazy load:", event);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user