From bde6498bbdfb32cc763b006a62aa26df94e3330e Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 18 May 2024 00:12:37 +0000 Subject: [PATCH] fix tests --- Theme/Backend/supplier-profile-bills.tpl.php | 194 ------------------- Theme/Backend/supplier-profile-items.tpl.php | 160 --------------- 2 files changed, 354 deletions(-) delete mode 100644 Theme/Backend/supplier-profile-bills.tpl.php delete mode 100644 Theme/Backend/supplier-profile-items.tpl.php diff --git a/Theme/Backend/supplier-profile-bills.tpl.php b/Theme/Backend/supplier-profile-bills.tpl.php deleted file mode 100644 index 65436ca..0000000 --- a/Theme/Backend/supplier-profile-bills.tpl.php +++ /dev/null @@ -1,194 +0,0 @@ -data['newestInvoices'] ?? []; - -?> - -
-
-
-
getHtml('Bills'); ?>download
- - - - - $value) : - ++$count; - $url = UriFactory::build('{/base}/purchase/bill/view?{?}&id=' . $value->id); - ?> - -
- getHtml('ID', '0', '0'); ?> - - - - getHtml('Type'); ?> - - - - getHtml('ClientID'); ?> - - - - getHtml('Client'); ?> - - - - getHtml('Address'); ?> - - - - getHtml('Postal'); ?> - - - - getHtml('City'); ?> - - - - getHtml('Country'); ?> - - - - getHtml('Net'); ?> - - - - getHtml('Profit'); ?> - - - - getHtml('Created'); ?> - - - -
- getNumber(); ?> - type->getL11n(); ?> - client->number; ?> - printHtml($value->billTo); ?> - billAddress; ?> - billZip; ?> - billCity; ?> - billCountry; ?> - getCurrency($value->netSales); ?> - getCurrency($value->netProfit); ?> - createdAt->format('Y-m-d'); ?> - - -
getHtml('Empty', '0', '0'); ?> - -
-
-
-
diff --git a/Theme/Backend/supplier-profile-items.tpl.php b/Theme/Backend/supplier-profile-items.tpl.php deleted file mode 100644 index 0add8e9..0000000 --- a/Theme/Backend/supplier-profile-items.tpl.php +++ /dev/null @@ -1,160 +0,0 @@ -data['items'] ?? []; - -?> - -
-
-
-
getHtml('Items'); ?>download
- - - - - $value) : - if ($value->itemNumber === '') { - continue; - } - - ++$count; - $url = UriFactory::build('{/base}/purchase/item/view?{?}&id=' . $value->id); - ?> - -
- getHtml('ID', '0', '0'); ?> - - - - getHtml('Name'); ?> - - - - getHtml('Quantity'); ?> - - - - getHtml('UnitPrice'); ?> - - - - getHtml('Discount'); ?> - - - - getHtml('Discount%'); ?> - - - - getHtml('DiscountBonus'); ?> - - - - getHtml('TotalPrice'); ?> - - - -
- printHtml($value->itemNumber); ?> - printHtml($value->itemName); ?> - printHtml((string) $value->quantity->getAmount()); ?> - getCurrency($value->singlePurchasePriceNet); ?> - - - - getCurrency($value->totalPurchasePriceNet); ?> - - -
getHtml('Empty', '0', '0'); ?> - -
-
-
-