WIP partner productchange
This commit is contained in:
@@ -1,3 +1,20 @@
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<div class="alert alert-purple">
|
||||
<p>
|
||||
Wählen Sie das neue Produkt aus oder ändern Sie den Preis.<br />
|
||||
Wenn ein <strong>Fertigstellungsdatum</strong> eingetragen wird, wird das alte Produkt am Vortag
|
||||
gekündigt.<br />
|
||||
<strong>Ohne Fertigstellungsdatum</strong> wird das neue Produkt händisch nach der technischen Produktanpassung fertiggestellt.
|
||||
</p>
|
||||
<p>
|
||||
<strong>Verknüpfte Produkte</strong> können beibehalten oder gekündigt werden.<br />
|
||||
Um beim verknüpften Produkt ein Kündigungsdatum einzutragen, muss beim Hauptprodukt ein Fertigstellungsdatum eingetragen sein.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card border-top-purple">
|
||||
<div class="card-body">
|
||||
<h4 class="text-center mb-3">Neuer Contract</h4>
|
||||
@@ -140,7 +157,7 @@
|
||||
<div class="form-group row">
|
||||
<label class="col-lg-2 col-form-label" for="billing_delay">Fertigstellungsdatum</label>
|
||||
<div class="col-lg-10">
|
||||
<input type="text" class="form-control" name="finish_date" id="finish_date" value="" />
|
||||
<input type="text" class="form-control" name="finish_date" id="finish_date" value="" onchange="finishDateChange()" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -356,4 +373,12 @@
|
||||
}
|
||||
//link-<?=$link->id?>-action-cancel
|
||||
}
|
||||
|
||||
function finishDateChange() {
|
||||
$("#link-table input.link-cancel:checked").each(function() {
|
||||
var match = this.id.match(/^link-(\d+)-action/);
|
||||
link_id = match[1];
|
||||
linkActionChange(link_id);
|
||||
});
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user