-- @tag: add_fkey_tax_id_to_acc_trans
-- @description: Setzt einen Fremdschlüssel zu der Tabellenspalte tax_id in der acc_trans
-- @depends: release_3_0_0 add_tax_id_to_acc_trans
+-- @charset: utf-8
ALTER TABLE acc_trans ADD FOREIGN KEY (tax_id) REFERENCES tax(id);
[% HTML.escape(defaults.weightunit) %]
</td>
</tr>
+ [%- END %]
<tr>
<th align="right" nowrap>[% 'On Hand' | $T8 %]</th>
<th align="left" nowrap class="plus[% IF onhand > 0 %]1[% ELSE %]0[% END %]"> [% LxERP.format_amount(onhand) %]</th>
<th align="right" nowrap="true">[% 'Default Bin' | $T8 %]</th>
<td><select id="bin_id" name="bin_id"></select></td>
</tr>
- [%- END %]
<tr>
<th align="right" nowrap="true">[% 'Verrechnungseinheit' | $T8 %]</th>
<td><input name="ve" size="10" value="[% HTML.escape(ve) %]"></td>