This commit is contained in:
Dennis Eichhorn 2024-01-30 21:29:21 +00:00
parent a5ce0aea7d
commit 10752eee16
2 changed files with 4 additions and 2 deletions

View File

@ -262,8 +262,8 @@ final class BackendController extends Controller
foreach ($results as $result) {
if (!isset($reserved[(int) $result['billing_bill_element_item']])) {
$reserved[$t->item] = 0;
$ordered[$t->item] = 0;
$reserved[(int) $result['billing_bill_element_item']] = 0;
$ordered[(int) $result['billing_bill_element_item']] = 0;
}
if ($result['billing_type_name'] === 'sales_order_confirmation') {

View File

@ -258,6 +258,8 @@ echo $this->data['nav']->render();
<tbody>
<?php
$newestInvoices = SalesBillMapper::getAll()
->with('client')
->with('client/account')
->with('type')
->with('type/l11n')
->where('type/transferType', BillTransferType::SALES)