Revision 0829f390
Von Bernd Bleßmann vor mehr als 2 Jahren hinzugefügt
bin/mozilla/gl.pl | ||
---|---|---|
185 | 185 |
template_type => 'gl_transaction', |
186 | 186 |
template_name => $new_name, |
187 | 187 |
|
188 |
currency_id => $::instance_conf->get_currency_id, |
|
189 |
department_id => $::form->{department_id} || undef, |
|
190 |
project_id => $::form->{globalproject_id} || undef, |
|
191 |
taxincluded => $::form->{taxincluded} ? 1 : 0, |
|
192 |
ob_transaction => $::form->{ob_transaction} ? 1 : 0, |
|
193 |
cb_transaction => $::form->{cb_transaction} ? 1 : 0, |
|
194 |
reference => $::form->{reference}, |
|
195 |
description => $::form->{description}, |
|
196 |
show_details => $::form->{show_details}, |
|
188 |
currency_id => $::instance_conf->get_currency_id,
|
|
189 |
department_id => $::form->{department_id} || undef,
|
|
190 |
project_id => $::form->{globalproject_id} || undef,
|
|
191 |
taxincluded => $::form->{taxincluded} ? 1 : 0,
|
|
192 |
ob_transaction => $::form->{ob_transaction} ? 1 : 0,
|
|
193 |
cb_transaction => $::form->{cb_transaction} ? 1 : 0,
|
|
194 |
reference => $::form->{reference},
|
|
195 |
description => $::form->{description},
|
|
196 |
show_details => $::form->{show_details},
|
|
197 | 197 |
transaction_description => $::form->{transaction_description}, |
198 | 198 |
|
199 | 199 |
items => \@items, |
... | ... | |
1216 | 1216 |
my $locale = $main::locale; |
1217 | 1217 |
|
1218 | 1218 |
# check if there is something in reference and date |
1219 |
$form->isblank("reference", $locale->text('Reference missing!')); |
|
1220 |
$form->isblank("transdate", $locale->text('Transaction Date missing!')); |
|
1221 |
$form->isblank("description", $locale->text('Description missing!')); |
|
1219 |
$form->isblank("reference", $locale->text('Reference missing!'));
|
|
1220 |
$form->isblank("transdate", $locale->text('Transaction Date missing!'));
|
|
1221 |
$form->isblank("description", $locale->text('Description missing!'));
|
|
1222 | 1222 |
$form->isblank("transaction_description", $locale->text('A transaction description is required.')) if $::instance_conf->get_require_transaction_description_ps; |
1223 | 1223 |
|
1224 | 1224 |
my $transdate = $form->datetonum($form->{transdate}, \%myconfig); |
Auch abrufbar als: Unified diff
Kosmetik Dialogbuchung gl.pl: Ausrichtung