-
-
-
- |
- | . $locale->text('All') . qq| |
-
$vclabel |
$vc |
@@ -249,6 +247,10 @@ sub form_header {
{vc}_id"}) . qq|">
{vc}"}) . qq|">
+
+ | . $locale->text('Invoice Number') . qq| |
+
+ |
| . $locale->text('Address') . qq| |
@@ -280,7 +282,6 @@ sub form_header {
|
|
@@ -317,6 +317,19 @@ sub form_header {
$jsscript
|;
+ if ($form->{openinvoices_other_currencies}) {
+ my $warning = $form->{vc} eq 'customer' ? $::locale->text('There are #1 more open invoices for this customer with other currencies.', $form->{openinvoices_other_currencies})
+ : $::locale->text('There are #1 more open invoices from this vendor with other currencies.', $form->{openinvoices_other_currencies});
+
+ print qq|
+
+
+
+ | . $::locale->text('Note') . qq|: $warning |
+
+|;
+ }
+
$lxdebug->leave_sub();
}
@@ -446,28 +459,6 @@ sub form_footer {
$auth->assert('cash');
- my ($media, $format, $latex_templates);
-
- $form->{DF}{ $form->{format} } = "selected";
- $form->{OP}{ $form->{media} } = "selected";
-
- $media = qq|
- |