InvoiceDetails
InvoiceDetails
is a React component that displays a modal form with an information about the specified invoice and allows performing various actions with this invoice.
Demo
Usage
<InvoiceDetails
id={"180d892f-bfcd-492e-80d8-b4353223c0d9"}
/>
Properties
id
: string (required)
id
: string (required)The UUID of the existing invoice you want to display.
onCancel
: function
onCancel
: functionCallback. Triggered after canceling an invoice. Contains one string argument whose value is the invoice UUID.
onClose
: function
onClose
: functionCallback. Triggered when the modal form is closed.
onDelete
: function
onDelete
: functionCallback. Triggered after deleting an invoice. Contains one string argument whose value is the invoice UUID.
onIssue
: function
onIssue
: functionCallback. Triggered after issuing an invoice. Contains one string argument whose value is the invoice UUID.
onMarkAsUncollectible
: function
onMarkAsUncollectible
: functionCallback. Triggered after marking the invoice as uncollectible. Contains one string argument whose value is the invoice UUID.
Updated 5 days ago