BankTransaction: Verlinkungen auf alten Vorlagencode upgedated.
authorSven Schöling <s.schoeling@linet-services.de>
Tue, 19 Jul 2016 17:25:49 +0000 (19:25 +0200)
committerSven Schöling <s.schoeling@linet-services.de>
Tue, 19 Jul 2016 17:25:49 +0000 (19:25 +0200)
Behebt redmine#194 "Fehler »load_draft not defined in locale/de/all« beim
Entwurfladen aus Bankauszug verbuchen"

templates/webpages/bank_transactions/create_invoice.html
templates/webpages/bank_transactions/filter_drafts.html

index cfc9ce8..a1806cb 100644 (file)
@@ -72,7 +72,7 @@
 
    [% FOREACH draft = DRAFTS %]
     <tr class="listrow[% loop.count % 2 %]">
-     <td><a href="[% draft.module %].pl?action=load_draft&id=[% HTML.url(draft.id) %]&amount_1=[% LxERP.format_amount(-1 * SELF.transaction.amount, 2) %]&transdate=[% HTML.url(SELF.transaction.transdate_as_date) %]&duedate=[% HTML.url(SELF.transaction.transdate_as_date) %]&datepaid_1=[% HTML.url(SELF.transaction.transdate_as_date) %]&paid_1=[% LxERP.format_amount(-1 * SELF.transaction.amount, 2) %]&currency=[% HTML.url(SELF.transaction.currency.name) %]&AP_paid_1=[% HTML.url(SELF.transaction.local_bank_account.chart.accno) %]&remove_draft=0&callback=[% HTML.url(callback) %]">[% HTML.escape(draft.description) %]</a></td>
+     <td><a href="controller.pl?action=Draft/load&id=[% HTML.url(draft.id) %]&form.amount_1=[% LxERP.format_amount(-1 * SELF.transaction.amount, 2) %]&form.transdate=[% HTML.url(SELF.transaction.transdate_as_date) %]&form.duedate=[% HTML.url(SELF.transaction.transdate_as_date) %]&form.datepaid_1=[% HTML.url(SELF.transaction.transdate_as_date) %]&form.paid_1=[% LxERP.format_amount(-1 * SELF.transaction.amount, 2) %]&form.currency=[% HTML.url(SELF.transaction.currency.name) %]&form.AP_paid_1=[% HTML.url(SELF.transaction.local_bank_account.chart.accno) %]&form.callback=[% HTML.url(callback) %]">[% HTML.escape(draft.description) %]</a></td>
      <td>[% HTML.escape(draft.vendor) %]</td>
      <td>[% HTML.escape(draft.employee.name) %]</td>
      <td>[% HTML.escape(draft.itime_as_date) %]</td>
index 7b2c8de..3f708f0 100644 (file)
@@ -13,7 +13,7 @@
    [% FOREACH draft = DRAFTS %]
     <tr class="listrow[% loop.count % 2 %]">
      <td>[% HTML.escape(draft.itime_as_date) %]</td>
-     <td><a href="[% draft.module %].pl?action=load_draft&id=[% HTML.url(draft.id) %]&amount_1=[% SELF.transaction.amount_as_number %]&datepaid_1=[% HTML.url(SELF.transaction.transdate_as_date) %]&paid_1=[% SELF.transaction.amount_as_number %]&remove_draft=0&callback=[% HTML.url(callback) %]">[% HTML.escape(draft.description) %]</a></td>
+     <td><a href="controller.pl?action=Draft/load&id=[% HTML.url(draft.id) %]&form.amount_1=[% SELF.transaction.amount_as_number %]&form.datepaid_1=[% HTML.url(SELF.transaction.transdate_as_date) %]&form.paid_1=[% SELF.transaction.amount_as_number %]&form.callback=[% HTML.url(callback) %]">[% HTML.escape(draft.description) %]</a></td>
      <td>[% HTML.escape(draft.employee.name) %]</td>
      <td>[% HTML.escape(draft.vendor) %]</td>
     </tr>