Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision b09da397

Von Jan Büren vor fast 2 Jahren hinzugefügt

  • ID b09da3971bbd534243c60ce831aeae3f51d4d5dc
  • Vorgänger c312b7dc
  • Nachfolger dd7215fb

design40: Lohnbuchhaltungsimport

Unterschiede anzeigen:

templates/design40_webpages/pay_posting_import/form.html
1
[%- USE HTML %]
2
[%- USE LxERP %]
3
[%- USE L %]
4
[%- USE T8 %]
5
[%- INCLUDE 'common/flash.html' %]
6

  
7
<h1>[% FORM.title %]</h1>
8

  
9
<div class="wrapper">
10
[% IF (SELF.gl_trans.size) %]
11
 <table class="tbl-list" id="gl_trans">
12
  <caption>[% SELF.gl_trans.size %]&nbsp;[% "entries imported" | $T8 %].</caption>
13
  <thead>
14
   <tr>
15
    <th>[%- LxERP.t8("Date") %]</th>
16
    <th>[%- LxERP.t8("Description") %]</th>
17
    <th>[%- LxERP.t8("Debit") %]</th>
18
    <th>[%- LxERP.t8("Credit") %]</th>
19
    <th>[%- LxERP.t8("Amount") %]</th>
20
   </tr>
21
  </thead>
22
  <tbody>
23
  [%- FOREACH gl = SELF.gl_trans %]
24
    <tr>
25
    <td>[%- gl.transdate.to_kivitendo -%]</td>
26
    <td>[%- gl.description -%]</td>
27
    <td>[%- gl.transactions.1.chart.accno -%]&nbsp;[%- gl.transactions.1.chart.description -%]</td>
28
    <td>[%- gl.transactions.0.chart.accno -%]&nbsp;[%- gl.transactions.0.chart.description -%]</td>
29
    <td class="numeric"> [%- LxERP.format_amount(gl.transactions.0.amount    , 2) %]</td>
30
   </tr>
31
  [% END %]
32
  </tbody>
33
 </table>
34
[% END %]
35
<form method="post" action="controller.pl" enctype="multipart/form-data" id="form">
36
<table class="tbl-horizontal">
37
  <caption>[% "Import a File:" | $T8 %]</caption>
38
  <tbody>
39
    <tr>
40
      <th>[% LxERP.t8("CSV File") %]:</th>
41
      <td></td>
42
      <td>[% L.input_tag('file', '', type => 'file', accept => '.csv') %]</td>
43
    </tr>
44
    <tr>
45
      <th>[% 'Close Books up to' | $T8 %]:</th>
46
      <td>[% L.checkbox_tag('set_closedto', value => 1, checked => 1, class => 'checkbox') %]</td>
47
      <td>[% L.date_tag('closedto', closedto) %]</td>
48
    </tr>
49
  <tbody>
50
</table>
51
</form>
52
</div><!-- /.cols -->

Auch abrufbar als: Unified diff