Revision 87e190b4
Von Jan Büren vor fast 16 Jahren hinzugefügt
bin/mozilla/ct.pl | ||
---|---|---|
125 | 125 |
push @options, $locale->text('Contact') . " : $form->{contact}" if $form->{contact}; |
126 | 126 |
push @options, $locale->text('Number') . qq| : $form->{"$form->{db}number"}| if $form->{"$form->{db}number"}; |
127 | 127 |
push @options, $locale->text('E-mail') . " : $form->{email}" if $form->{email}; |
128 |
push @options, $locale->text('Contact person (surname)') |
|
129 |
. " : $form->{cp_name}" if $form->{cp_name}; |
|
130 |
push @options, $locale->text('Billing/shipping address (city)') |
|
131 |
. " : $form->{addr_city}" if $form->{addr_city}; |
|
132 |
|
|
133 |
push @options, $locale->text('Billing/shipping address (zipcode)') |
|
134 |
. " : $form->{zipcode}" if $form->{addr_zipcode}; |
|
135 |
push @options, $locale->text('Billing/shipping address (street)') |
|
136 |
. " : $form->{street}" if $form->{addr_street}; |
|
128 | 137 |
|
129 | 138 |
my @columns = ( |
130 |
'id', 'name', "$form->{db}number", 'address', 'contact', 'phone',
|
|
131 |
'fax', 'email', 'taxnumber', 'sic_code', 'business', 'invnumber',
|
|
139 |
'id', 'name', "$form->{db}number", 'contact', 'phone', |
|
140 |
'fax', 'email', 'taxnumber', 'street', 'zipcode' , 'city', 'business', 'invnumber',
|
|
132 | 141 |
'ordnumber', 'quonumber' |
133 | 142 |
); |
134 | 143 |
|
... | ... | |
142 | 151 |
'id' => { 'text' => $locale->text('ID'), }, |
143 | 152 |
"$form->{db}number" => { 'text' => $form->{IS_CUSTOMER} ? $locale->text('Customer Number') : $locale->text('Vendor Number'), }, |
144 | 153 |
'name' => { 'text' => $locale->text('Name'), }, |
145 |
'address' => { 'text' => $locale->text('Address'), }, |
|
146 | 154 |
'contact' => { 'text' => $locale->text('Contact'), }, |
147 | 155 |
'phone' => { 'text' => $locale->text('Phone'), }, |
148 | 156 |
'fax' => { 'text' => $locale->text('Fax'), }, |
149 | 157 |
'email' => { 'text' => $locale->text('E-mail'), }, |
150 | 158 |
'cc' => { 'text' => $locale->text('Cc'), }, |
151 | 159 |
'taxnumber' => { 'text' => $locale->text('Tax Number'), }, |
152 |
'sic_code' => { 'text' => $locale->text('SIC'), }, |
|
153 | 160 |
'business' => { 'text' => $locale->text('Type of Business'), }, |
154 | 161 |
'invnumber' => { 'text' => $locale->text('Invoice'), }, |
155 | 162 |
'ordnumber' => { 'text' => $form->{IS_CUSTOMER} ? $locale->text('Sales Order') : $locale->text('Purchase Order'), }, |
156 | 163 |
'quonumber' => { 'text' => $form->{IS_CUSTOMER} ? $locale->text('Quotation') : $locale->text('Request for Quotation'), }, |
164 |
'street' => { 'text' => $locale->text('Street'), }, |
|
165 |
'zipcode' => { 'text' => $locale->text('Zipcode'), }, |
|
166 |
'city' => { 'text' => $locale->text('City'), }, |
|
157 | 167 |
%column_defs_cvars, |
158 | 168 |
); |
159 | 169 |
|
Auch abrufbar als: Unified diff
Stammdaten
> Berichte -> Kunden -> Suchfeld | Das zusammengefasst Adressfeld (Straße PLZ Ort) wieder in die Einzelkomponenten aufgeteilt. Zusätzlich die Suche um den Nachnamen des Ansprechpartners ergänzt. Die 'In Bericht aufnehmen'-Felder um Straße, PLZ, Ort zusammenhängend rechts ergänzt. Das unnötige SIC-Ankreuzfeld rausgeworfen, überhaupt alle sic_code-Einträge entrümpelt und wo wir schon mal dabei sind auch gleich die Tabellen in der DB gelöscht bzw. angepasst (hoffentlich vermisst die keiner ... ;)). Im Bonuslevel noch einen fehlerhaften HTML-div-Tag in der Suchmaske entsorgt.