changed contract data rows

This commit is contained in:
Frank Schubert
2024-12-03 19:24:17 +01:00
parent e20a528398
commit c7bffed5b1
2 changed files with 13 additions and 10 deletions

View File

@@ -124,7 +124,7 @@ class ContractController extends mfBaseController {
"BACK_URL" => isset($_SERVER['HTTP_REFERER']) && str_contains($_SERVER['HTTP_REFERER'], 'Address/View') ? $_SERVER['HTTP_REFERER'] : self::getUrl('Contract', 'Index'),
"EDIT_URL" => self::getUrl('Contract', 'Edit', ['contract_id' => $contract->id, 'f' => 'view']),
"HEADER" => str_contains(strtolower($contract->sla->name), "residential") ? "Privatprodukt" : "Businessprodukt",
"SUB_HEADER" => $contract->product_name . "[" . $contract->id . "]"
"SUB_HEADER" => $contract->product_name . " [" . $contract->id . "]"
]);