Line 34... |
Line 34... |
34 |
|
34 |
|
35 |
<?php if ($invoice_amount > 0) { ?>
|
35 |
<?php if ($invoice_amount > 0) { ?>
|
36 |
<div style="display:flex; flex-direction:row; gap:0.5rem; font-weight:normal; align-items:center;">
|
36 |
<div style="display:flex; flex-direction:row; gap:0.5rem; font-weight:normal; align-items:center;">
|
37 |
<span><?php echo __('Menge'); ?></span>
|
37 |
<span><?php echo __('Menge'); ?></span>
|
38 |
|
38 |
|
39 |
<input form="invoice_form" type="hidden" name="invoice_products[<?php echo $p['order_product_id']; ?>][set]" value="0" />
|
39 |
<input form="invoice_form" type="hidden" name="invoice_products[<?php echo $p['order_product_id']; ?>][set]" value="0" class="" />
|
40 |
<input checked="checked" form="invoice_form" type="checkbox" class="wpsg_mod_deliverynote_product" name="invoice_products[<?php echo $p['order_product_id']; ?>][set]" value="1" style="margin:0;" />
|
40 |
<input checked="checked" form="invoice_form" type="checkbox" class="wpsg_mod_deliverynote_product wpsg_check_amount" name="invoice_products[<?php echo $p['order_product_id']; ?>][set]" value="1" style="margin:0;" />
|
41 |
|
41 |
|
42 |
<input form="invoice_form" name="invoice_products[<?php echo $p['order_product_id']; ?>][amount]" type="number" max="<?php echo $invoice_amount; ?>" min="1" value="<?php echo min($invoice_amount, $p['amount']); ?>" style="padding:0; font-size:14px; line-height:22px; min-height:initial; height:22px; width:50px; text-indent:5px; border:1px solid black; margin:0;" />
|
42 |
<input form="invoice_form" name="invoice_products[<?php echo $p['order_product_id']; ?>][amount]" type="number" max="<?php echo $invoice_amount; ?>" min="1" value="<?php echo min($invoice_amount, $p['amount']); ?>" style="padding:0; font-size:14px; line-height:22px; min-height:initial; height:22px; width:50px; text-indent:5px; border:1px solid black; margin:0;" />
|
43 |
|
43 |
|
44 |
<span> <?php echo __('auf Rechnung', 'wpsg'); ?></span>
|
44 |
<span> <?php echo __('auf Rechnung', 'wpsg'); ?></span>
|
45 |
</div>
|
45 |
</div>
|
Line 61... |
Line 61... |
61 |
|
61 |
|
62 |
<?php if ($storno_amount > 0) { ?>
|
62 |
<?php if ($storno_amount > 0) { ?>
|
63 |
<div style="display:flex; flex-direction:row; gap:0.5rem; font-weight:normal; align-items:center;">
|
63 |
<div style="display:flex; flex-direction:row; gap:0.5rem; font-weight:normal; align-items:center;">
|
64 |
<span><?php echo __('Menge'); ?></span>
|
64 |
<span><?php echo __('Menge'); ?></span>
|
65 |
|
65 |
|
66 |
<input form="storno_form" type="hidden" name="storno_products[<?php echo $p['order_product_id']; ?>][set]" value="0" />
|
66 |
<input form="storno_form" type="hidden" name="storno_products[<?php echo $p['order_product_id']; ?>][set]" value="0" class="" />
|
67 |
<input form="storno_form" type="checkbox" class="wpsg_mod_deliverynote_product" name="storno_products[<?php echo $p['order_product_id']; ?>][set]" value="1" style="margin:0;" />
|
67 |
<input form="storno_form" type="checkbox" class="wpsg_mod_deliverynote_product wpsg_check_amount" name="storno_products[<?php echo $p['order_product_id']; ?>][set]" value="1" style="margin:0;" />
|
68 |
|
68 |
|
69 |
<input form="storno_form" oninput="event.target.previousElementSibling.checked = true;" onchange="event.target.previousElementSibling.checked = true;" name="storno_products[<?php echo $p['order_product_id']; ?>][amount]" type="number" max="<?php echo $storno_amount; ?>" min="1" value="<?php echo min($storno_amount, $p['amount']); ?>" style="padding:0; font-size:14px; line-height:22px; min-height:initial; height:22px; width:50px; text-indent:5px; border:1px solid black; margin:0;" />
|
69 |
<input form="storno_form" oninput="event.target.previousElementSibling.checked = true;" onchange="event.target.previousElementSibling.checked = true;" name="storno_products[<?php echo $p['order_product_id']; ?>][amount]" type="number" max="<?php echo $storno_amount; ?>" min="1" value="<?php echo min($storno_amount, $p['amount']); ?>" style="padding:0; font-size:14px; line-height:22px; min-height:initial; height:22px; width:50px; text-indent:5px; border:1px solid black; margin:0;" />
|
70 |
|
70 |
|
71 |
<span> <?php echo __('Stück auf Gutschrift', 'wpsg'); ?></span>
|
71 |
<span> <?php echo __('Stück auf Gutschrift', 'wpsg'); ?></span>
|
72 |
</div>
|
72 |
</div>
|