Revision e8966d20
Von Bernd Bleßmann vor mehr als 9 Jahren hinzugefügt
bin/mozilla/do.pl | ||
---|---|---|
369 | 369 |
|
370 | 370 |
set_headings($form->{"id"} ? "edit" : "add"); |
371 | 371 |
|
372 |
$form->{insertdate} = SL::DB::DeliveryOrder->new(id => $form->{id})->load->itime_as_date if $form->{id}; |
|
373 |
|
|
372 | 374 |
$form->{update} = 1; |
373 | 375 |
|
374 | 376 |
my $payment_id; |
... | ... | |
532 | 534 |
shipvia globalprojectnumber |
533 | 535 |
transaction_description department |
534 | 536 |
open delivered |
537 |
insertdate |
|
535 | 538 |
); |
536 | 539 |
|
537 | 540 |
$form->{l_open} = $form->{l_closed} = "Y" if ($form->{open} && $form->{closed}); |
... | ... | |
546 | 549 |
my @hidden_variables = map { "l_${_}" } @columns; |
547 | 550 |
push @hidden_variables, $form->{vc}, qw(l_closed l_notdelivered open closed delivered notdelivered donumber ordnumber serialnumber cusordnumber |
548 | 551 |
transaction_description transdatefrom transdateto reqdatefrom reqdateto |
549 |
type vc employee_id salesman_id project_id); |
|
552 |
type vc employee_id salesman_id project_id |
|
553 |
insertdatefrom insertdateto); |
|
550 | 554 |
|
551 | 555 |
my $href = build_std_url('action=orders', grep { $form->{$_} } @hidden_variables); |
552 | 556 |
|
... | ... | |
568 | 572 |
'open' => { 'text' => $locale->text('Open'), }, |
569 | 573 |
'delivered' => { 'text' => $locale->text('Delivered'), }, |
570 | 574 |
'department' => { 'text' => $locale->text('Department'), }, |
575 |
'insertdate' => { 'text' => $locale->text('Insert Date'), }, |
|
571 | 576 |
); |
572 | 577 |
|
573 |
foreach my $name (qw(id transdate reqdate donumber ordnumber name employee salesman shipvia transaction_description department)) { |
|
578 |
foreach my $name (qw(id transdate reqdate donumber ordnumber name employee salesman shipvia transaction_description department insertdate)) {
|
|
574 | 579 |
my $sortdir = $form->{sort} eq $name ? 1 - $form->{sortdir} : $form->{sortdir}; |
575 | 580 |
$column_defs{$name}->{link} = $href . "&sort=$name&sortdir=$sortdir"; |
576 | 581 |
} |
... | ... | |
621 | 626 |
push @options, $locale->text('From') . " " . $locale->date(\%myconfig, $form->{reqdatefrom}, 1) if $form->{reqdatefrom}; |
622 | 627 |
push @options, $locale->text('Bis') . " " . $locale->date(\%myconfig, $form->{reqdateto}, 1) if $form->{reqdateto}; |
623 | 628 |
}; |
629 |
if ( $form->{insertdatefrom} or $form->{insertdateto} ) { |
|
630 |
push @options, $locale->text('Insert Date'); |
|
631 |
push @options, $locale->text('From') . " " . $locale->date(\%myconfig, $form->{insertdatefrom}, 1) if $form->{insertdatefrom}; |
|
632 |
push @options, $locale->text('Bis') . " " . $locale->date(\%myconfig, $form->{insertdateto}, 1) if $form->{insertdateto}; |
|
633 |
}; |
|
624 | 634 |
if ($form->{open}) { |
625 | 635 |
push @options, $locale->text('Open'); |
626 | 636 |
} |
Auch abrufbar als: Unified diff
Erfassungsdatum bei Verkaufs-Lieferscheinen.
In der Maske anzeigen; im Bericht anzeigen und danach filtern.
Übernahme aus Kundenprojekt.