Revision 267cb279
Von Moritz Bunkus vor etwa 9 Jahren hinzugefügt
bin/mozilla/ap.pl | ||
---|---|---|
42 | 42 |
use SL::PE; |
43 | 43 |
use SL::ReportGenerator; |
44 | 44 |
use SL::DB::Default; |
45 |
use SL::DB::PurchaseInvoice; |
|
45 | 46 |
|
46 | 47 |
require "bin/mozilla/arap.pl"; |
47 | 48 |
require "bin/mozilla/common.pl"; |
... | ... | |
217 | 218 |
|
218 | 219 |
$main::auth->assert('general_ledger'); |
219 | 220 |
|
221 |
$::form->{invoice_obj} = SL::DB::PurchaseInvoice->new(id => $::form->{id})->load if $::form->{id}; |
|
222 |
|
|
220 | 223 |
$form->{title_} = $form->{title}; |
221 | 224 |
$form->{title} = $form->{title} eq 'Add' ? $locale->text('Add Accounts Payables Transaction') : $locale->text('Edit Accounts Payables Transaction'); |
222 | 225 |
|
templates/webpages/ap/form_header.html | ||
---|---|---|
116 | 116 |
</td> |
117 | 117 |
</tr> |
118 | 118 |
|
119 |
[%- IF invoice_obj.sepa_exports.as_list.size %] |
|
120 |
<tr> |
|
121 |
<th align="right">[% LxERP.t8("SEPA exports") %]</th> |
|
122 |
<td> |
|
123 |
[% FOREACH export = invoice_obj.sepa_exports.as_list %] |
|
124 |
<a href="sepa.pl?action=bank_transfer_edit&vc=vendor&id=[% HTML.url(export.id) %]">[% HTML.escape(export.id) %]</a> |
|
125 |
[% UNLESS loop.last %], [% END %] |
|
126 |
[% END %] |
|
127 |
</td> |
|
128 |
</tr> |
|
129 |
[%- END %] |
|
130 |
|
|
119 | 131 |
<tr> |
120 | 132 |
<th align="right" nowrap>[% 'Currency' | $T8 %]</th> |
121 | 133 |
<td><select name="currency">[% selectcurrency %]</select></td> |
Auch abrufbar als: Unified diff
Kreditorenbuchungen: In Kopf anzeigen, in welchen SEPA-Exporten der Beleg enthalten ist