Partner productchange done

This commit is contained in:
Frank Schubert
2024-07-30 20:01:29 +02:00
parent 48f3866bc7
commit a0cd6847b7
9 changed files with 147 additions and 24 deletions

View File

@@ -189,7 +189,7 @@
<hr />
<div class="form-group row">
<label class="col-lg-2 col-form-label" for="order_date">Bestelldatum</label>
<label class="col-lg-2 col-form-label" for="order_date">Bestelldatum *</label>
<div class="col-lg-10">
<input type="text" class="form-control" name="order_date" id="order_date" value="<?=($contract->order_date) ? date("d.m.Y",$contract->order_date) : ""?>">
</div>

View File

@@ -1,6 +1,11 @@
<?php
$f = false;
$hide_credit = false;
$hide_credit = true;
if($me->is("Admin")) {
$hide_credit = false;
}
?>
<?php include(realpath(dirname(__FILE__) . "/../../$mfLayoutPackage") . "/header.php"); ?>

View File

@@ -199,8 +199,8 @@
<td>
<input type="radio" class="form-check link-keep pointer"
id="link-<?=$link->id?>-action-keep"
name="links[<?=$link->id?>][action]"
value="keep" <?=($linkcontract->cancel_date && $linkcontract->cancel_date < date('U')) ? "" : "checked='checked'"?>
name="links[<?=$link->id?>][action]" value="keep"
<?=($linkcontract->cancel_date && $linkcontract->cancel_date < date('U')) ? "" : "checked='checked'"?>
onchange="linkActionChange(<?=$link->id?>)" />
<?php if($link->type == "credit"): ?>
(Gutschrift wird neu erstellt)

View File

@@ -1,6 +1,10 @@
<?php
$f = "o";
$hide_credit = true;
if($me->is("Admin")) {
$hide_credit = false;
}
?>
<?php include(realpath(dirname(__FILE__) . "/../../$mfLayoutPackage") . "/header.php"); ?>