List And Details Sales Pane
fun ListAndDetailsSalesPane(onAddSale: () -> Unit = {}, onEditSale: (Long) -> Unit = {}, onDuplicateSale: (Long) -> Unit = {})
A Composable that provides an adaptive list-detail layout for sales.
It uses NavigableSupportingPaneScaffold to display the sales list in the main pane and sale details in a supporting pane when a sale is selected.
Parameters
on Add Sale
Callback invoked when the user chooses to add a new sale.
on Edit Sale
Callback invoked when the user chooses to edit an existing sale.
on Duplicate Sale
Callback invoked when the user chooses to duplicate a sale.