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",
|
||||
sortable: true,
|
||||
buttonVariant: "outlined",
|
||||
onStatusClick: (status, rowData) => handleEstimateClick(status, rowData),
|
||||
onStatusClick: (status, rowData) => handleInvoiceClick(status, rowData),
|
||||
//disableCondition: (status) => status?.toLowerCase() === "draft",
|
||||
disableCondition: false
|
||||
},
|
||||
{ label: "Grand Total", fieldName: "grandTotal", type: "text", sortable: true },
|
||||
];
|
||||
|
||||
const handleInvoiceClick = () => {
|
||||
}
|
||||
|
||||
const handleLazyLoad = async (event) => {
|
||||
console.log("Invoices page - handling lazy load:", event);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user