Revision eefbbed3
Von Jan Büren vor etwa 4 Jahren hinzugefügt
bin/mozilla/vk.pl | ||
---|---|---|
137 | 137 |
$form->{title} = $locale->text('Sales Report'); |
138 | 138 |
|
139 | 139 |
@columns = |
140 |
qw(description invnumber transdate customernumber customername partnumber partsgroup country business transdate qty parts_unit weight sellprice sellprice_total discount lastcost lastcost_total marge_total marge_percent employee salesman); |
|
140 |
qw(description invnumber transdate shipvia customernumber customername partnumber partsgroup country business transdate qty parts_unit weight sellprice sellprice_total discount lastcost lastcost_total marge_total marge_percent employee salesman);
|
|
141 | 141 |
|
142 | 142 |
my @includeable_custom_variables = grep { $_->{includeable} } @{ $cvar_configs_ic }, @{ $cvar_configs_ct }; |
143 | 143 |
my @searchable_custom_variables = grep { $_->{searchable} } @{ $cvar_configs_ic }, @{ $cvar_configs_ct }; |
... | ... | |
171 | 171 |
'salesman' => { 'text' => $locale->text('Salesperson'), }, |
172 | 172 |
'invnumber' => { 'text' => $locale->text('Invoice Number'), }, |
173 | 173 |
'transdate' => { 'text' => $locale->text('Invoice Date'), }, |
174 |
'shipvia' => { 'text' => $locale->text('Ship via'), }, |
|
174 | 175 |
'qty' => { 'text' => $locale->text('Quantity'), }, |
175 | 176 |
'parts_unit' => { 'text' => $locale->text('Base unit'), }, |
176 | 177 |
'weight' => { 'text' => $locale->text('Weight'), }, |
... | ... | |
209 | 210 |
push @options, $locale->text('Department') . " : " . SL::DB::Department->new(id => $form->{department_id})->load->description if $form->{department_id}; |
210 | 211 |
push @options, $locale->text('Invoice Number') . " : $form->{invnumber}" if $form->{invnumber}; |
211 | 212 |
push @options, $locale->text('Invoice Date') . " : $form->{invdate}" if $form->{invdate}; |
213 |
push @options, $locale->text('Ship via') . " : $form->{shipvia}" if $form->{shipvia}; |
|
212 | 214 |
push @options, $locale->text('Part Number') . " : $form->{partnumber}" if $form->{partnumber}; |
213 | 215 |
push @options, $locale->text('Partsgroup') . " : " . SL::DB::PartsGroup->new(id => $form->{partsgroup_id})->load->partsgroup if $form->{partsgroup_id}; |
214 | 216 |
push @options, $locale->text('Country') . " : $form->{country}" if $form->{country}; |
Auch abrufbar als: Unified diff
Verkaufsbericht: Transportmittel in Bericht mitausgeben