mod price and date in pdf output
This commit is contained in:
parent
398294df42
commit
6600766724
@ -54,11 +54,12 @@ class PrintController extends GetxController {
|
||||
pw.TextStyle(fontWeight: pw.FontWeight.bold, font: font),
|
||||
data: tankungen.map((item) {
|
||||
var modDate = item.date.substring(5);
|
||||
var modPreisPerLiter = item.pricePerLiter.padRight(5, '0');
|
||||
return [
|
||||
modDate,
|
||||
item.location,
|
||||
item.liters,
|
||||
item.pricePerLiter,
|
||||
modPreisPerLiter,
|
||||
item.szSummePreis ?? '0.0',
|
||||
];
|
||||
}).toList(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user