We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e45105 commit 1ca5fd8Copy full SHA for 1ca5fd8
SL/DB/Helper/FlattenToForm.pm
@@ -28,10 +28,10 @@ sub flatten_to_form {
28
};
29
30
if (_has($self, 'transdate')) {
31
- my $transdate_idx = ref($self) eq 'SL::DB::Order' ? ($self->quotation ? 'quodate' : 'orddate')
32
- : ref($self) eq 'SL::DB::Invoice' ? 'invdate'
+ my $transdate_idx = ref($self) eq 'SL::DB::Order' ? ($self->quotation ? 'quodate' : 'orddate')
+ : ref($self) eq 'SL::DB::Invoice' ? 'invdate'
33
: ref($self) eq 'SL::DB::DeliveryOrder' ? 'dodate'
34
- : 'transdate';
+ : 'transdate';
35
$form->{$transdate_idx} = $self->transdate->to_lxoffice;
36
}
37
0 commit comments