Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision cb6d74e6

Von Sven Schöling vor mehr als 14 Jahren hinzugefügt

  • ID cb6d74e65f317419b956fab45952d886afcaeee3
  • Vorgänger d8b7e4d0
  • Nachfolger b38b1d9b

Umstellung Funktionsaufrufe auf Dispatcher-Mechanismus

Conflicts:

templates/webpages/ap/ap_transactions_bottom.html
templates/webpages/ar/ar_transactions_bottom.html
templates/webpages/bankaccounts/bank_account_list_bottom.html
templates/webpages/ct/list_names_bottom.html
templates/webpages/dunning/show_dunning_bottom.html
templates/webpages/gl/generate_report_bottom.html
templates/webpages/ic/generate_report_bottom.html

Unterschiede anzeigen:

templates/webpages/ap/ap_transactions_bottom.html
1
[%- USE T8 %]
2
[% USE HTML %] <form method="post" action="ap.pl">
1
[% USE T8 %][% USE HTML %] <form method="post" action="dispatcher.pl?M=ap">
3 2

  
4 3
  <input name="callback" type="hidden" value="[% callback %]">
5 4

  
6 5
  [% 'Create new' | $T8 %]<br>
7 6

  
8
  <input class="submit" type="submit" name="action" value="[% 'AP Transaction' | $T8 %]">
9
  <input class="submit" type="submit" name="action" value="[% 'Vendor Invoice' | $T8 %]">
7
  <input class="submit" type="submit" name="A_ap_transaction" value="[%- 'AP Transaction' | $T8 %]">
8
  <input class="submit" type="submit" name="A_vendor_invoice" value="[%- 'Vendor Invoice' | $T8 %]">
10 9

  
11 10
 </form>
12 11

  
templates/webpages/ar/ar_transactions_bottom.html
1
[%- USE T8 %]
2
[% USE HTML %] <form method="post" action="ar.pl">
1
[% USE T8 %][% USE HTML %] <form method="post" action="dispatcher.pl?M=ar">
3 2

  
4 3
  <input name="callback" type="hidden" value="[% callback %]">
5 4

  
6 5
  [% 'Create new' | $T8 %]<br>
7 6

  
8
  <input class="submit" type="submit" name="action" value="[% 'AR Transaction' | $T8 %]">
9
  <input class="submit" type="submit" name="action" value="[% 'Sales Invoice' | $T8 %]">
7
  <input class="submit" type="submit" name="A_ar_transaction" value="[%- 'AR Transaction' | $T8 %]">
8
  <input class="submit" type="submit" name="A_sales_invoice" value="[%- 'Sales Invoice' | $T8 %]">
10 9

  
11 10
 </form>
12 11

  
templates/webpages/bankaccounts/bank_account_list_bottom.html
1
[%- USE T8 %]
2
[% USE HTML %]
3
 <form action="bankaccounts.pl" method="post">
1
[% USE T8 %][% USE HTML %]
2
 <form action="dispatcher.pl?M=bankaccounts" method="post">
4 3
  <p>
5
   [% 'New bank account' | $T8 %]<br>
6
   <input type="submit" value="[% 'Add' | $T8 %]">
4
   [%- 'New bank account' | $T8 %]<br>
5
   <input type="submit" name="A_bank_account_add" value="[%- 'Add' | $T8 %]">
7 6
  </p>
8 7

  
9
  <input type="hidden" name="action" value="bank_account_add">
10 8
  <input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
11 9
 </form>
12 10

  
templates/webpages/ct/list_names_bottom.html
1
[%- USE T8 %]
2
[% USE HTML %]<form method="post" action="ct.pl">
1
[% USE T8 %][% USE HTML %]<form method="post" action="dispatcher.pl?M=ct">
3 2

  
4 3
 <input name="callback" type="hidden" value="[% HTML.escape(callback) %]">
5 4
 <input name="db" type="hidden" value="[% HTML.escape(db) %]">
6 5

  
7 6
 [% IF IS_CUSTOMER %][% 'New customer' | $T8 %][% ELSE %][% 'New vendor' | $T8 %][% END %]<br>
8 7

  
9
 <input class="submit" type="submit" name="action" value="[% 'Add' | $T8 %]">
8
 <input class="submit" type="submit" name="A_add" value="[%- 'Add' | $T8 %]">
10 9

  
11 10
</form>
templates/webpages/dunning/show_dunning_bottom.html
6 6
  <p>
7 7
   [% 'Dunnings' | $T8 %]<br>
8 8
   <input type="hidden" name="print_nextsub" value="print_multiple">
9
   <input type="submit" class="submit" name="action" value="[% 'Print' | $T8 %]">
9
   <input type="hidden" name="action" value="print">
10
   <input type="submit" class="submit" value="[%- 'Print' | $T8 %]">
10 11
  </p>
11 12

  
12 13
 </form>
templates/webpages/gl/generate_report_bottom.html
1
[%- USE T8 %]
2
[% USE HTML %]<form method="post" action="gl.pl">
1
[% USE T8 %][% USE HTML %]<form method="post" action="dispatcher.pl?M=gl">
3 2

  
4 3
 <input name="callback" type="hidden" value="[% HTML.escape(callback) %]">
5 4

  
6
 <input class="submit" type="submit" name="action" value="[% 'GL Transaction' | $T8 %]">
7
 <input class="submit" type="submit" name="action" value="[% 'AR Transaction' | $T8 %]">
8
 <input class="submit" type="submit" name="action" value="[% 'AP Transaction' | $T8 %]">
9
 <input class="submit" type="submit" name="action" value="[% 'Sales Invoice' | $T8 %]">
10
 <input class="submit" type="submit" name="action" value="[% 'Vendor Invoice' | $T8 %]">
5
 <input class="submit" type="submit" name="A_gl_transaction" value="[%- 'GL Transaction' | $T8 %]">
6
 <input class="submit" type="submit" name="A_ar_transaction" value="[%- 'AR Transaction' | $T8 %]">
7
 <input class="submit" type="submit" name="A_ap_transaction" value="[%- 'AP Transaction' | $T8 %]">
8
 <input class="submit" type="submit" name="A_sales_invoice" value="[%- 'Sales Invoice' | $T8 %]">
9
 <input class="submit" type="submit" name="A_vendor_invoice" value="[%- 'Vendor Invoice' | $T8 %]">
11 10

  
12 11
</form>
templates/webpages/ic/generate_report_bottom.html
4 4
 <input name="callback" type="hidden" value="[% HTML.escape(callback) %]">
5 5

  
6 6
 <input type="hidden" name="item" value="[% HTML.escape(searchitems) %]">
7
 <input type="hidden" name="action" value="add">
7 8

  
8 9
 [% SWITCH searchitems %]
9 10
   [% CASE 'part' %][% 'New part' | $T8 %]
......
11 12
   [% CASE 'assembly' %][% 'New assembly' | $T8 %]
12 13
 [% END %]
13 14
 <br>
14
 <input class="submit" type="submit" name="action" value="[% 'Add' | $T8 %]">
15
 <input class="submit" type="submit" value="[%- 'Add' | $T8 %]">
15 16

  
16 17
</form>

Auch abrufbar als: Unified diff