mirror of
https://github.com/Karaka-Management/oms-Billing.git
synced 2026-02-16 16:28:41 +00:00
prepare on change
This commit is contained in:
parent
a308bdb545
commit
71cd6a9a9e
|
|
@ -270,9 +270,11 @@ echo $this->data['nav']->render(); ?>
|
||||||
<table
|
<table
|
||||||
id="invoiceElements"
|
id="invoiceElements"
|
||||||
class="default sticky"
|
class="default sticky"
|
||||||
|
data-action="<?= \phpOMS\Uri\UriFactory::build('{/api}billing/bill/element?{?}&csrf={$CSRF}'); ?>"
|
||||||
data-tag="form"
|
data-tag="form"
|
||||||
data-ui-container="tbody"
|
data-ui-container="tbody"
|
||||||
data-ui-element="tr"
|
data-ui-element="tr"
|
||||||
|
data-on-change="1"
|
||||||
data-add-tpl=".oms-invoice-add">
|
data-add-tpl=".oms-invoice-add">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
@ -347,7 +349,7 @@ echo $this->data['nav']->render(); ?>
|
||||||
|
|
||||||
<?php if ($editable) : ?>
|
<?php if ($editable) : ?>
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<input type="submit" class="add-form" value="Add" form="invoiceElements">
|
<input type="submit" class="add-form" value="<?= $this->getHtml('Add', '0', '0') ?>" form="invoiceElements">
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -479,7 +481,7 @@ echo $this->data['nav']->render(); ?>
|
||||||
|
|
||||||
<?php if ($editable) : ?>
|
<?php if ($editable) : ?>
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<input type="submit" class="add-form" value="Add" form="paymentPlan">
|
<input type="submit" class="add-payment-form" value="<?= $this->getHtml('Add', '0', '0') ?>" form="paymentPlan">
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user