Recurring invoices
This commit is contained in:
parent
4ee5a5804e
commit
4eaec9f241
|
|
@ -150,7 +150,6 @@ abstract class CalculateInvoiceTotal {
|
|||
final double itemDiscount = round(item.discount, 2);
|
||||
final double taxRate1 = round(item.taxRate1, 3);
|
||||
final double taxRate2 = round(item.taxRate2, 3);
|
||||
|
||||
double lineTotal = qty * cost;
|
||||
|
||||
if (itemDiscount != 0) {
|
||||
|
|
|
|||
|
|
@ -70,8 +70,6 @@ class InvoiceEditContactsVM extends EntityEditContactsVM {
|
|||
Store<AppState> store, EntityType entityType) {
|
||||
final AppState state = store.state;
|
||||
|
||||
print('## ENTITY TYPE: $entityType');
|
||||
|
||||
BaseEntity entity;
|
||||
if (entityType == EntityType.invoice) {
|
||||
entity = state.invoiceUIState.editing;
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ class RecurringInvoiceEditDetailsScreen extends StatelessWidget {
|
|||
return InvoiceEditDesktop(
|
||||
viewModel: viewModel,
|
||||
entityViewModel: this.viewModel,
|
||||
key: ValueKey('__invoice_${viewModel.invoice.id}__'),
|
||||
key: ValueKey('__recurring_invoice_${viewModel.invoice.id}__'),
|
||||
);
|
||||
} else {
|
||||
return InvoiceEditDetails(
|
||||
|
|
|
|||
Loading…
Reference in New Issue