Revision 880122f8
Von Bernd Bleßmann vor etwa 11 Jahren hinzugefügt
bin/mozilla/ct.pl | ||
---|---|---|
170 | 170 |
} |
171 | 171 |
|
172 | 172 |
my @columns = ( |
173 |
'id', 'name', "$form->{db}number", 'contact', 'phone', |
|
173 |
'id', 'name', "$form->{db}number", 'contact', 'phone', 'discount',
|
|
174 | 174 |
'fax', 'email', 'taxnumber', 'street', 'zipcode' , 'city', |
175 | 175 |
'business', 'invnumber', 'ordnumber', 'quonumber', 'salesman', 'country' |
176 | 176 |
); |
... | ... | |
200 | 200 |
'city' => { 'text' => $locale->text('City'), }, |
201 | 201 |
'country' => { 'text' => $locale->text('Country'), }, |
202 | 202 |
'salesman' => { 'text' => $locale->text('Salesman'), }, |
203 |
'discount' => { 'text' => $locale->text('Discount'), }, |
|
203 | 204 |
%column_defs_cvars, |
204 | 205 |
); |
205 | 206 |
|
... | ... | |
268 | 269 |
|
269 | 270 |
if ($ref->{id} ne $previous_id) { |
270 | 271 |
$previous_id = $ref->{id}; |
272 |
$ref->{discount} = $form->format_amount(\%myconfig, $ref->{discount} * 100.0, 2); |
|
271 | 273 |
map { $row->{$_}->{data} = $ref->{$_} } @columns; |
272 | 274 |
|
273 | 275 |
$row->{name}->{link} = build_std_url('script=controller.pl', 'action=CustomerVendor/edit', 'id=' . E($ref->{id}), 'callback', @hidden_nondefault); |
Auch abrufbar als: Unified diff
Rabatt in Kunden-/Lieferanten-Bericht mit aufnehmen können.