Revision 030cf0d5
Von Bernd Bleßmann vor fast 9 Jahren hinzugefügt
bin/mozilla/ct.pl | ||
---|---|---|
145 | 145 |
push @options, $locale->text('Billing/shipping address (zipcode)') . " : $form->{zipcode}" if $form->{addr_zipcode}; |
146 | 146 |
push @options, $locale->text('Billing/shipping address (street)') . " : $form->{street}" if $form->{addr_street}; |
147 | 147 |
push @options, $locale->text('Billing/shipping address (country)') . " : $form->{country}" if $form->{addr_country}; |
148 |
push @options, $locale->text('Billing/shipping address (GLN)') . " : $form->{addr_gln}" if $form->{addr_gln}; |
|
148 | 149 |
|
149 | 150 |
if ($form->{business_id}) { |
150 | 151 |
my $business = SL::DB::Manager::Business->find_by(id => $form->{business_id}); |
... | ... | |
170 | 171 |
'id', 'name', "$form->{db}number", 'contact', 'phone', 'discount', |
171 | 172 |
'fax', 'email', 'taxnumber', 'street', 'zipcode' , 'city', |
172 | 173 |
'business', 'payment', 'invnumber', 'ordnumber', 'quonumber', 'salesman', |
173 |
'country', 'insertdate', 'pricegroup' |
|
174 |
'country', 'gln', 'insertdate', 'pricegroup'
|
|
174 | 175 |
); |
175 | 176 |
|
176 | 177 |
my @includeable_custom_variables = grep { $_->{includeable} } @{ $cvar_configs }; |
... | ... | |
197 | 198 |
'zipcode' => { 'text' => $locale->text('Zipcode'), }, |
198 | 199 |
'city' => { 'text' => $locale->text('City'), }, |
199 | 200 |
'country' => { 'text' => $locale->text('Country'), }, |
201 |
'gln' => { 'text' => $locale->text('GLN'), }, |
|
200 | 202 |
'salesman' => { 'text' => $locale->text('Salesman'), }, |
201 | 203 |
'discount' => { 'text' => $locale->text('Discount'), }, |
202 | 204 |
'payment' => { 'text' => $locale->text('Payment Terms'), }, |
... | ... | |
209 | 211 |
|
210 | 212 |
my @hidden_variables = ( qw( |
211 | 213 |
db status obsolete name contact email cp_name addr_street addr_zipcode |
212 |
addr_city addr_country business_id salesman_id insertdateto insertdatefrom |
|
214 |
addr_city addr_country addr_gln business_id salesman_id insertdateto insertdatefrom
|
|
213 | 215 |
), "$form->{db}number", |
214 | 216 |
map({ "cvar_$_->{name}" } @searchable_custom_variables), |
215 | 217 |
map({'cvar_'. $_->{name} .'_qtyop'} grep({$_->{type} eq 'number'} @searchable_custom_variables)), |
Auch abrufbar als: Unified diff
GLN: In Bericht Kunden/Lieferanten anzeigen und danach suchen können.