Stammdaten->Berichte->Kunden Abt1 und Abt2 erweitert
authorJan Büren <jan@kivitendo.de>
Thu, 18 Feb 2021 12:06:06 +0000 (13:06 +0100)
committerJan Büren <jan@kivitendo.de>
Thu, 18 Feb 2021 12:06:44 +0000 (13:06 +0100)
bin/mozilla/ct.pl
templates/webpages/ct/search.html

index 8d11153..86d1f5d 100644 (file)
@@ -182,7 +182,7 @@ sub list_names {
 
   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',
@@ -201,6 +201,8 @@ sub list_names {
     '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'), },
index 692ae75..f948b5f 100644 (file)
         <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 %]