Skip to content

Commit

Permalink
Clarify usage message
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean28518 committed Jun 28, 2023
1 parent 994ad0b commit 35a9514
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/services/invoice_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ class InvoiceService {
return;
}
if (invoiceElements.isEmpty) {
MintY.showMessage(
context, "Bitte fügen Sie mindestens eine Rechnungsposition hinzu!");
MintY.showMessage(context,
"Bitte fügen Sie mindestens eine Rechnungsposition hinzu!\nDefinieren Sie die Artikelbeschreibung, den Preis pro Einheit und die Menge.\nDrücken Sie am Ende den '+' Knopf.");
return;
}

Expand Down Expand Up @@ -110,7 +110,7 @@ class InvoiceService {
if (discount.isNotEmpty) {
arguments.add("--discount");
for (var element in discount) {
String s = "${element.name};${element.pricePerUnit}";
String s = "${element.name};${element.price}";
arguments.add(s);
}
}
Expand Down

0 comments on commit 35a9514

Please sign in to comment.