WIP partner productchange

This commit is contained in:
Frank Schubert
2024-07-25 17:22:10 +02:00
parent a0f66aaf3c
commit fe1677d7c6
4 changed files with 32 additions and 101 deletions

View File

@@ -435,7 +435,11 @@ class ContractController extends mfBaseController
if (!$new_contract_id) {
$this->layout()->setFlash("Neuer Contract konnte nicht gespeichert werden", "error");
$this->redirect("Contract", "productchange", ["contract_id" => $id]);
if($f == "o") {
$this->redirect("Contract", "productchange", ["contract_id" => $id, "f" => $f]);
} else {
$this->redirect("Contract", "productchange", ["contract_id" => $id]);
}
}
if($contract_cancel_date) {