diff --git a/Layout/default/Admin/Index.php b/Layout/default/Admin/Index.php index b152ce579..81b5fd926 100644 --- a/Layout/default/Admin/Index.php +++ b/Layout/default/Admin/Index.php @@ -17,65 +17,87 @@
=count($change_contracts)?> Contracts zum Umstellen gefunden.
+Hier werden alle Produktwechsel angezeigt, die erstellt werden.
+| + | Alter Contract | +Neuer Contract | +
|---|---|---|
| Contract ID | +$oc->id])?>" target="_blank">=$oc->id?> | +neu | +
| Vertragsinhaber | +$oc->owner_id])?>" target="_blank">=$oc->owner->getCompanyOrName()?> | +$nc->owner_id])?>" target="_blank">=$nc->owner->getCompanyOrName()?> | +
| Rechnungsempfänger | +$oc->billingaddress_id])?>" target="_blank">=$oc->billingaddress->getCompanyOrName()?> | +$nc->billingaddress_id])?>" target="_blank">=$nc->billingaddress->getCompanyOrName()?> | +
| Matchcode | +=$oc->matchcode?> | +=$nc->matchcode?> | +
| Produktname | +=$oc->product->name?> | +=$nc->product->name?> | +
| Contract Produktname | +=$oc->product_name?> | +=$nc->product_name?> | +
| Preis | +€ =number_format(($oc->amount != 1) ? $oc->price * $oc->amount : $oc->price, 4, ",", ".")?> | +€ =number_format(($nc->amount != 1) ? $nc->price * $nc->amount : $nc->price, 4, ",", ".")?> | +
| Setup Preis | +€ =number_format($oc->price_setup, 4, ",", ".")?>=($oc->amount != 1) ? " (Gesamt: € ".number_format($oc->price_setup * $oc->amount, 4, ",", ".").")" : ""?> | +=number_format($nc->price_setup, 4, ",", ".")?>=($nc->amount != 1) ? " (Gesamt: € ".number_format($nc->price_setup * $nc->amount, 4, ",", ".").")" : ""?> | +
| Aktion | +Contract ID | +Matchcode | +Produkt | +Preis | +Setup Preis | +
|---|---|---|---|---|---|
| + + Verknüpfung mit + + Verlinkten Contract kündigen + + | +=$lc["link_from"]->id ?? "neu"?> | +=$lc["link_from"]->matchcode?> | +=$lc["link_from"]->product->name?> | +price < 0) ? "text-danger" : ""?>">€ =number_format(($lc["link_from"]->amount != 1) ? $lc["link_from"]->price * $lc["link_from"]->amount : $lc["link_from"]->price, 4, ",", ".")?> | +€ =number_format($lc["link_from"]->price_setup, 4, ",", ".")?>=($lc["link_from"]->amount != 1) ? " (Gesamt: € ".number_format($lc["link_from"]->price_setup * $lc["link_from"]->amount, 4, ",", ".").")" : ""?> | +
| + + Verknüpfung mit + + neue Gutschrift an =$lc["link_to"]->owner->getCompanyOrName()?> + + Gutschrift kündigen + + + | +=$lc["link_to"]->id ?? "neu"?> | +=$lc["link_to"]->matchcode?> | +=$lc["link_to"]->product->name?> | +price < 0) ? "text-danger" : ""?>">€ =number_format(($lc["link_to"]->amount != 1) ? $lc["link_to"]->price * $lc["link_to"]->amount : $lc["link_to"]->price, 4, ",", ".")?> | +€ =number_format($lc["link_to"]->price_setup, 4, ",", ".")?>=($lc["link_to"]->amount != 1) ? " (Gesamt: € ".number_format($lc["link_to"]->price_setup * $lc["link_to"]->amount, 4, ",", ".").")" : ""?> | +
| Gutschrift | +=$lc["credit"]->id ?? "neu"?> | +=$lc["credit"]->matchcode?> | +=$lc["credit"]->owner->getCompanyOrName()?> | +price < 0) ? "text-danger" : ""?>">€ =number_format(($lc["credit"]->amount != 1) ? $lc["credit"]->price * $lc["credit"]->amount : $lc["credit"]->price, 4, ",", ".")?> | +€ =number_format($lc["credit"]->price_setup, 4, ",", ".")?>=($lc["credit"]->amount != 1) ? " (Gesamt: € ".number_format($lc["credit"]->price_setup * $lc["credit"]->amount, 4, ",", ".").")" : ""?> | +