my @columns = (
'id', 'name', "$form->{db}number", 'contact', 'main_contact_person',
- 'phone', 'discount',
+ 'department_1', 'department_2', 'phone', 'discount',
'fax', 'email', 'taxnumber', 'street', 'zipcode' , 'city',
'business', 'payment', 'invnumber', 'ordnumber', 'quonumber', 'salesman',
'country', 'gln', 'insertdate', 'pricegroup', 'contact_origin', 'invoice_mail',
'name' => { 'text' => $form->{IS_CUSTOMER} ? $::locale->text('Customer Name') : $::locale->text('Vendor Name'), },
'contact' => { 'text' => $locale->text('Contact'), },
'main_contact_person' => { 'text' => $locale->text('Main Contact Person'), },
+ 'department_1' => { 'text' => $locale->text('Department') . " 1", },
+ 'department_2' => { 'text' => $locale->text('Department') . " 2", },
'phone' => { 'text' => $locale->text('Phone'), },
'fax' => { 'text' => $locale->text('Fax'), },
'email' => { 'text' => $locale->text('E-mail'), },
<input name="l_delivery_order_mail" id="l_delivery_order_mail" type="checkbox" class="checkbox" value="Y">
<label for="l_delivery_order_mail">[% 'Email of the delivery order recipient' | $T8 %]</label>
</td>
+ <td>
+ <input name="l_department_1" id="l_department_1" type="checkbox" class="checkbox" value="Y">
+ <label for="l_department_1">[% 'Department' | $T8 %] 1</label>
+ </td>
+ <td>
+ <input name="l_department_2" id="l_department_2" type="checkbox" class="checkbox" value="Y">
+ <label for="l_department_2">[% 'Department' | $T8 %] 2</label>
+ </td>
+ <td></td>
</tr>
[% END %]