refactored translations, preparing sending of document

This commit is contained in:
2025-07-17 13:03:49 +02:00
parent 7616aa9581
commit dc8de9707a
38 changed files with 430 additions and 390 deletions

View File

@@ -132,25 +132,25 @@
<div class="sender data">
<? document.sender.name ?><br/>
<br/>
<? Delivery date ?>: <? document.delivery ?>
<? delivery date ?>: <? document.delivery ?>
</div>
</header>
<h1><? document.type ?></h1>
<h2>
<span class="left"><? document.type ?> <? document.number ?></span>
<span class="center"><? customer number ?>: <? document.customer.id ?></span>
<span class="center"><? customer id ?>: <? document.customer.id ?></span>
<span class="right"><? document.date ?></span>
</h2>
<hr/>
<div class="head"><? document.head.rendered ?></div>
<table>
<tr>
<th><? Position ?></th>
<th><? Description ?></th>
<th><? Price per unit ?></th>
<th><? Amount ?></th>
<th><? Price ?></th>
<th><? Tax rate ?></th>
<th><? position ?></th>
<th><? description ?></th>
<th><? price per unit ?></th>
<th><? amount ?></th>
<th><? price ?></th>
<th><? tax rate ?></th>
</tr>
<!-- positions -->
@@ -171,7 +171,7 @@
<!-- positions -->
<tr>
<th class="right" colspan="5"><? Net sum ?>:</th>
<th class="right" colspan="5"><? net sum ?>:</th>
<th class="right"><? document.net_sum ?></th>
</tr>
@@ -181,13 +181,13 @@
<td></td>
<td><? net_sum ?>&nbsp;+&nbsp;<? rate ?>&nbsp;=</td>
<td><? gross_sum ?></td>
<td colspan="2"><? contained tax: ?></td>
<td colspan="2"><? contained tax ?>:</td>
<td><? amount ?></td>
</tr>
<!-- tax list -->
<tr>
<th class="right" colspan="5"><? Gross sum ?>:</th>
<th class="right" colspan="5"><? gross sum ?>:</th>
<th class="right"><? document.gross_sum ?></th>
</tr>
</table>
@@ -196,12 +196,12 @@
<tr>
<td><? document.sender.name ?></td>
<td>
<? Tax id ?>: <? document.sender.tax_id ?><br/>
<? tax id ?>: <? document.sender.tax_id ?><br/>
<? local court ?>: <? document.sender.court ?><br/><br/>
<div class="ad"><? document.type ?> <? created with ?> <a href="https://umbrella.srsoftware.de">Umbrella</a> <? by ?> <a href="https://srsoftware.de">SRSoftware</a></div>
</td>
<td>
<? Bank account ?>:<br/>
<? bank account ?>:<br/>
<? document.sender.bank_account ?>
</td>
</tr>
@@ -216,7 +216,7 @@
<div class="ad"><? document.type ?> <? created with ?> <a href="https://umbrella.srsoftware.de">Umbrella</a> <? by ?> <a href="https://srsoftware.de">SRSoftware</a></div>
</div>
<div class="bank_account">
<? Bank account ?>:<br/>
<? bank account ?>:<br/>
<? document.sender.bank_account ?>
</div>
</div> -->