Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision bc1e32e3

Von Hans P. Schlaepfer vor fast 4 Jahren hinzugefügt

  • ID bc1e32e3494b2c16083e54c47198051e96905e08
  • Vorgänger 06c4c1c8
  • Nachfolger 4d5fd2b3

Neues Design 2019 Standard-Code templates/webpages/client_config/_default_accounts.html

Unterschiede anzeigen:

templates/webpages/client_config/_default_accounts.html
1
[% SET style="width: 500px" %]
2
[%# L.dump( SELF.defaults ) %]
3
<div id="default_accounts">
4
 <table>
5
  <tr>
6
   <td align="right">[% LxERP.t8("Inventory Account") %]</td>
7
   <td>
8
   [% P.chart.picker('defaults.inventory_accno_id', SELF.defaults.inventory_accno_id, type='IC', choose=1, style=style) %]
9
   <td>
10
  </tr>
11

  
12
  <tr>
13
   <td align="right">[% LxERP.t8("Revenue Account") %]</td>
14
   <td>[% P.chart.picker('defaults.income_accno_id', SELF.defaults.income_accno_id, type='IC_income,IC_sale', choose=1, style=style) %]</td>
15
  </tr>
16

  
17
  <tr>
18
   <td align="right">[% LxERP.t8("Expense Account") %]</td>
19
   <td>[% P.chart.picker('defaults.expense_accno_id', SELF.defaults.expense_accno_id, type='IC_expense,IC_cogs', choose=1, style=style) %]</td>
20
  </tr>
21

  
22
  <tr>
23
   <td align="right">[% LxERP.t8("Foreign Exchange Gain") %]</td>
24
   <td>[% P.chart.picker('defaults.fxgain_accno_id', SELF.defaults.fxgain_accno_id, category='I,A', choose=1, style=style) %]<td>
25
  </tr>
26 1
[% USE HTML %]
27 2
[% USE LxERP %]
28 3
[% USE L %]
29
[% USE T8 %]
30 4
[% USE P %]
31 5

  
32
  <tr>
33
   <td align="right">[% LxERP.t8("Foreign Exchange Loss") %]</td>
34
   <td>[% P.chart.picker('defaults.fxloss_accno_id', SELF.defaults.fxloss_accno_id, category='E,A', choose=1, style=style) %]<td>
35
  </tr>
36

  
37
  <tr>
38
   <td align="right">[% LxERP.t8("Rounding Gain") %]</td>
39
   <td>[% P.chart.picker('defaults.rndgain_accno_id', SELF.defaults.rndgain_accno_id, category='I,A', choose=1, style=style) %]</td>
40
  </tr>
41

  
42
  <tr>
43
   <td align="right">[% LxERP.t8("Rounding Loss") %]</td>
44
   <td>[% P.chart.picker('defaults.rndloss_accno_id', SELF.defaults.rndloss_accno_id,  category='E,A', choose=1, style=style) %]</td>
45
  </tr>
46

  
47
  <tr>
48
   <td align="right">[% LxERP.t8("Current assets account") %]</td>
49
   <td>[% P.chart.picker('defaults.ar_paid_accno_id', SELF.defaults.ar_paid_accno_id, type='AR_paid', choose=1, style=style) %]<td>
50
  </tr>
51

  
52
  <tr>
53
   <td align="right">[% LxERP.t8("Payable account") %]</td>
54
   <td>[% P.chart.picker('defaults.ap_chart_id', SELF.defaults.ap_chart_id, type='AP', choose=1, style=style) %]<td>
55
  </tr>
56

  
57
  <tr>
58
   <td align="right">[% LxERP.t8("Receivable account") %]</td>
59
   <td>[% P.chart.picker('defaults.ar_chart_id', SELF.defaults.ar_chart_id, type='AR', choose=1, style=style) %]<td>
60
  </tr>
6
[% SET style="width: 500px" %]
61 7

  
62
  <tr>
63
   <td align="right">[% LxERP.t8("Account for workflow from purchase order to ap transaction") %]</td>
64
   <td>[% P.chart.picker('defaults.workflow_po_ap_chart_id', SELF.defaults.workflow_po_ap_chart_id, type='AP_amount', choose=1, style=style) %]<td>
65
  </tr>
8
[%# L.dump( SELF.defaults ) %]
66 9

  
67
  <tr>
68
    <th align="right">[% LxERP.t8("Year-end closing") %]</th>
69
  </tr>
70
  <tr>
71
   <td align="right">[% LxERP.t8("Carry over account for year-end closing") %]</td>
72
   <td>[% P.chart.picker('defaults.carry_over_account_chart_id', SELF.defaults.carry_over_account_chart_id, category='A', choose=1, style=style) %]<td>
73
  </tr>
10
<div id="default_accounts">
11
<div class="wrapper">
74 12

  
75
  <tr>
76
   <td align="right">[% LxERP.t8("Profit carried forward account") %]</td>
77
   <td>[% P.chart.picker('defaults.profit_carried_forward_chart_id', SELF.defaults.profit_carried_forward_chart_id, category='A', choose=1, style=style) %]<td>
78
  </tr>
13
<table class="tbl-horizontal">
14
  <caption>[% LxERP.t8("Default Accounts") %]</caption>
15
  <tbody>
16
    <tr>
17
      <th>[% LxERP.t8("Inventory Account") %]</th>
18
      <td>[% P.chart.picker('defaults.inventory_accno_id', SELF.defaults.inventory_accno_id, type='IC', choose=1, style=style) %] </td>
19
    </tr>
20
    <tr>
21
      <th>[% LxERP.t8("Revenue Account") %]</th>
22
      <td>[% P.chart.picker('defaults.income_accno_id', SELF.defaults.income_accno_id, type='IC_income,IC_sale', choose=1, style=style) %]</td>
23
    </tr>
24
    <tr>
25
      <th>[% LxERP.t8("Expense Account") %]</th>
26
      <td>[% P.chart.picker('defaults.expense_accno_id', SELF.defaults.expense_accno_id, type='IC_expense,IC_cogs', choose=1, style=style) %]</td>
27
    </tr>
28
    <tr>
29
      <th>[% LxERP.t8("Foreign Exchange Gain") %]</th>
30
      <td>[% P.chart.picker('defaults.fxgain_accno_id', SELF.defaults.fxgain_accno_id, category='I,A', choose=1, style=style) %]</td>
31
    </tr>
32
    <tr>
33
      <th>[% LxERP.t8("Foreign Exchange Loss") %]</th>
34
      <td>[% P.chart.picker('defaults.fxloss_accno_id', SELF.defaults.fxloss_accno_id, category='E,A', choose=1, style=style) %]</td>
35
    </tr>
36
    <tr>
37
      <th>[% LxERP.t8("Rounding Gain") %]</th>
38
      <td>[% P.chart.picker('defaults.rndgain_accno_id', SELF.defaults.rndgain_accno_id, category='I,A', choose=1, style=style) %]</td>
39
    </tr>
40
    <tr>
41
      <th>[% LxERP.t8("Rounding Loss") %]</th>
42
      <td>[% P.chart.picker('defaults.rndloss_accno_id', SELF.defaults.rndloss_accno_id, category='E,A', choose=1, style=style) %]</td>
43
    </tr>
44
    <tr>
45
      <th>[% LxERP.t8("Current assets account") %]</th>
46
      <td>[% P.chart.picker('defaults.ar_paid_accno_id', SELF.defaults.ar_paid_accno_id, type='AR_paid', choose=1, style=style) %]</td>
47
    </tr>
48
    <tr>
49
      <th>[% LxERP.t8("Payable account") %]</th>
50
      <td>[% P.chart.picker('defaults.ap_chart_id', SELF.defaults.ap_chart_id, type='AP', choose=1, style=style) %]</td>
51
    </tr>
52
    <tr>
53
      <th>[% LxERP.t8("Receivable account") %]</th>
54
      <td>[% P.chart.picker('defaults.ar_chart_id', SELF.defaults.ar_chart_id, type='AR', choose=1, style=style) %]</td>
55
    </tr>
56
    <tr>
57
      <th>[% LxERP.t8("Account for workflow from purchase order to ap transaction") %]</th>
58
      <td>[% P.chart.picker('defaults.workflow_po_ap_chart_id', SELF.defaults.workflow_po_ap_chart_id, type='AP_amount', choose=1, style=style) %]<td>
59
    </tr>
60
  </tbody>
61
</table>
79 62

  
80
  <tr>
81
   <td align="right">[% LxERP.t8("Loss carried forward account") %]</td>
82
   <td>[% P.chart.picker('defaults.loss_carried_forward_chart_id', SELF.defaults.loss_carried_forward_chart_id, category='A', choose=1, style=style) %]<td>
83
  </tr>
63
<table class="tbl-horizontal">
64
  <caption>[% LxERP.t8("Year-end closing") %]</caption>
65
  <tbody>
66
    <tr>
67
      <th>[% LxERP.t8("Carry over account for year-end closing") %]</th>
68
      <td>[% P.chart.picker('defaults.carry_over_account_chart_id', SELF.defaults.carry_over_account_chart_id, category='A', choose=1, style=style) %]<td>
69
    </tr>
70
    <tr>
71
      <th>[% LxERP.t8("Profit carried forward account") %]</th>
72
      <td>[% P.chart.picker('defaults.profit_carried_forward_chart_id', SELF.defaults.profit_carried_forward_chart_id, category='A', choose=1, style=style) %]<td>
73
    </tr>
74
    <tr>
75
      <th>[% LxERP.t8("Loss carried forward account") %]</th>
76
      <td>[% P.chart.picker('defaults.loss_carried_forward_chart_id', SELF.defaults.loss_carried_forward_chart_id, category='A', choose=1, style=style) %]<td>
77
    </tr>
78
  </tbody>
84 79
</table>
85
</div>
80

  
81
</div><!-- /.wrapper -->
82
</div><!-- /#default_accounts-->

Auch abrufbar als: Unified diff