From 29416611bcf467c17d91a875a0df0cc24d3edb6d Mon Sep 17 00:00:00 2001 From: Luca Haid Date: Tue, 21 Jan 2025 10:57:23 +0000 Subject: [PATCH] Historic bill fix decimal --- .../WarehouseShippingNote/WarehouseShippingNoteController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/WarehouseShippingNote/WarehouseShippingNoteController.php b/application/WarehouseShippingNote/WarehouseShippingNoteController.php index 8b7913141..fa683a50e 100644 --- a/application/WarehouseShippingNote/WarehouseShippingNoteController.php +++ b/application/WarehouseShippingNote/WarehouseShippingNoteController.php @@ -286,8 +286,8 @@ class WarehouseShippingNoteController extends TTCrud { 'articleTitle' => "Fahrkostenpauschale (hin und retour)", 'articleDescription' => "Datum: ". date("d.m.Y", strtotime($hoursEntry['date'])) . " | Fahrzeug: " . TimerecordingCarModel::getOne($hoursEntry['carId'])->number_plate, 'articleUnit' => 'Km', - 'amount' => $hoursEntry['kilometerCount'], - 'price' => 1 * $hoursEntry['kilometerCount'] ?? 0, + 'amount' => $hoursEntry['kilometerCount'] * 2, + 'price' => 2 * $hoursEntry['kilometerCount'] ?? 0, ]; }