Revision 653ae9ea
Von Philip Reetz vor mehr als 16 Jahren hinzugefügt
bin/mozilla/rp.pl | ||
---|---|---|
189 | 189 |
$value_2 = ""; |
190 | 190 |
$trigger_2 = "trigger2"; |
191 | 191 |
} elsif (($form->{report} eq "ar_aging") || ($form->{report} eq "ap_aging")) { |
192 |
$name_1 = ""; |
|
193 |
$id_1 = ""; |
|
194 |
$value_1 = ""; |
|
195 |
$trigger_1 = ""; |
|
192 |
$name_1 = "fromdate";
|
|
193 |
$id_1 = "fromdate";
|
|
194 |
$value_1 = "$form->{fromdate}";
|
|
195 |
$trigger_1 = "trigger1";
|
|
196 | 196 |
$name_2 = "todate"; |
197 | 197 |
$id_2 = "todate"; |
198 | 198 |
$value_2 = ""; |
... | ... | |
788 | 788 |
<td>$vc</td> |
789 | 789 |
</tr> |
790 | 790 |
<tr> |
791 |
<th align=right>| . $locale->text('Bis') . qq|</th> |
|
792 |
<td> |
|
793 |
$button1 |
|
794 |
$button1_2 |
|
791 |
<td align=left colspan=4>| . $locale->text('From') . qq| |
|
792 |
$button1 |
|
793 |
$button1_2 |
|
794 |
| . $locale->text('Bis') . qq| |
|
795 |
$button2 |
|
796 |
$button2_2 |
|
795 | 797 |
</td> |
796 | 798 |
</tr> |
797 | 799 |
<input type=hidden name=type value=statement> |
... | ... | |
1666 | 1668 |
|
1667 | 1669 |
sub aging { |
1668 | 1670 |
$lxdebug->enter_sub(); |
1669 |
print(STDERR "Bin in Aging\n"); |
|
1671 |
|
|
1670 | 1672 |
$auth->assert('general_ledger'); |
1671 | 1673 |
|
1672 | 1674 |
my $report = SL::ReportGenerator->new(\%myconfig, $form); |
... | ... | |
1714 | 1716 |
$form->{title} = sprintf($locale->text('Ap aging on %s'), $form->{todate}); |
1715 | 1717 |
} |
1716 | 1718 |
|
1717 |
push @options, $locale->text('for Period') . " " . $locale->text('Bis') . " " . $locale->date(\%myconfig, $form->{todate}, 1); |
|
1719 |
if ($form->{fromdate}) { |
|
1720 |
push @options, $locale->text('for Period') . " " . $locale->text('From') . " " .$locale->date(\%myconfig, $form->{fromdate}, 1) . " " . $locale->text('Bis') . " " . $locale->date(\%myconfig, $form->{todate}, 1); |
|
1721 |
} else { |
|
1722 |
push @options, $locale->text('for Period') . " " . $locale->text('Bis') . " " . $locale->date(\%myconfig, $form->{todate}, 1); |
|
1723 |
} |
|
1718 | 1724 |
|
1719 | 1725 |
my $attachment_basename = $form->{ct} eq 'customer' ? $locale->text('ar_aging_list') : $locale->text('ap_aging_list'); |
1720 | 1726 |
|
Auch abrufbar als: Unified diff
Eingrenzung nach Datum bei offene Forderungen und Verbindlichkeiten