|
5 | 5 | {t}Einkaufsinformationen{/t} |
6 | 6 | </div> |
7 | 7 | <form action="{$relative_path}edit_part_info.php" method="post" class="table-responsive no-progbar" id="orderdetails"> |
8 | | - <table class="table table-striped table-condensed table-hover"> |
| 8 | + <table class="table table-striped table-sm table-hover"> |
9 | 9 | <thead> |
10 | 10 | <tr> |
11 | 11 | <th></th> |
12 | 12 | <th>{t}Lieferant{/t}<br>{t}Bestellnummer{/t}</th> |
13 | 13 | <th>{t}Eigenschaften{/t}</th> |
14 | 14 | <th>{t}Preise{/t}</th> |
15 | | - <th></th> |
16 | 15 | </tr> |
17 | 16 | </thead> |
18 | 17 |
|
|
49 | 48 | {else} |
50 | 49 | <button class="btn btn-success" type="submit" name="orderdetails_apply" value="{$detail.orderdetails_id}" |
51 | 50 | {if !$can_orderdetails_edit}disabled{/if}>{t}Übernehmen{/t}</button> |
52 | | - <p></p> |
53 | | - <button class="btn btn-danger" type="submit" name="orderdetails_delete" value="{$detail.orderdetails_id}" |
| 51 | + <button class="btn btn-danger mt-2" type="submit" name="orderdetails_delete" value="{$detail.orderdetails_id}" |
54 | 52 | {if !$can_orderdetails_delete}disabled{/if}>{t}Löschen{/t}</button> |
55 | 53 | {/if} |
56 | 54 | </td> |
57 | 55 |
|
58 | 56 | <td> |
59 | 57 | {if $detail.orderdetails_id != "new"} |
60 | | - <table class="table table-striped table-bordered table-condensed"> |
| 58 | + <table class="table table-striped table-bordered table-sm"> |
61 | 59 | <thead> |
62 | 60 | <tr class="trcat"> |
63 | 61 | <th></th> |
|
82 | 80 |
|
83 | 81 | <td > |
84 | 82 | <div class="input-group"> |
85 | | - <input type="number" min="0" step="any" class="form-control" |
| 83 | + <input type="number" min="0" step="0.00001" max="999999.99999" class="form-control" |
86 | 84 | name="price_{if $price.pricedetails_id == "new"}{$detail.orderdetails_id}_{/if}{$price.pricedetails_id}" |
87 | | - value="{$price.price}" |
| 85 | + value="{$price.price}" placeholder="3.55" |
88 | 86 | {if !($can_prices_edit || ($can_prices_create && $price.pricedetails_id == "new"))}disabled{/if}> |
89 | 87 | <div class="input-group-append"> |
90 | | - <span class="input-group-text">{t}pro{/t}</span> |
| 88 | + <span class="input-group-text">{$currency_symbol}</span> |
91 | 89 | </div> |
| 90 | + </div> |
| 91 | + <div class="input-group mt-2"> |
92 | 92 | <input type="number" min="0" class="form-control" |
93 | 93 | name="price_related_quantity_{if $price.pricedetails_id == "new"}{$detail.orderdetails_id}_{/if}{$price.pricedetails_id}" |
94 | 94 | value="{$price.price_related_quantity}" |
95 | | - {if !($can_prices_edit || ($can_prices_create && $price.pricedetails_id == "new"))}disabled{/if}> |
| 95 | + {if !($can_prices_edit || ($can_prices_create && $price.pricedetails_id == "new"))}disabled{/if} placeholder="1"> |
96 | 96 | <div class="input-group-append"> |
97 | 97 | <span class="input-group-text">{t}Stk.{/t}</span> |
98 | 98 | </div> |
|
112 | 112 | <button class="btn btn-secondary" type="submit" name="pricedetails_apply" |
113 | 113 | {if !$can_prices_edit}disabled{/if} |
114 | 114 | value="{$price.pricedetails_id}">{t}Übernehmen{/t}</button> |
115 | | - <p></p> |
116 | | - <button class="btn btn-secondary" type="submit" name="pricedetails_delete" |
| 115 | + <button class="btn btn-secondary mt-2" type="submit" name="pricedetails_delete" |
117 | 116 | {if !$can_prices_delete}disabled{/if} |
118 | 117 | value="{$price.pricedetails_id}">{t}Löschen{/t}</button> |
119 | 118 | {/if} |
|
0 commit comments