updated scripts

This commit is contained in:
liphh committed 2026-10-02 22:35:11 +02:00
1 parent 2326f1fbbc
commit 41b55f96c1
118 files changed
+8245 -627

No files matched your search

+114
View File
@@ -0,0 +1,114 @@
<?lsmb# This is a comment block; it's ignored by the template engine.
Version: 2.0
Date: 2024-03-16
File: statement.html
Set: demo
Template version numbers are explicitly not aligned across templates or
releases. No explicit versioning was applied before 2021-01-04.
Version Changes
2.0 Grouping of amounts by currency, in case of
exposure in multiple currencies against a single customer
-?>
<!DOCTYPE html>
<html>
<head>
<meta name="generator" content="HTML Tidy for HTML5 for Linux version 5.6.0">
<title><?lsmb text('Statement') ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
body {
background-color: white;
}
h4.c1 {text-transform:uppercase}
tr.subtotal td { font-weight: bold }
</style>
</head>
<body>
<?lsmb FOREACH statement IN statements ?>
<table width="100%">
<?lsmb INCLUDE letterhead ?>
<tr>
<th colspan="3">
<h4 class="c1"><?lsmb text('Statement') ?></h4>
</th>
</tr>
<tr>
<td colspan="3" align="right"><?lsmb statementdate ?></td>
</tr>
<tr>
<td>
<table width="100%">
<tr valign="top">
<td><?lsmb statement.entity.name ?><br>
<?lsmb statement.address.line_one ?> <?lsmb IF statement.address.line_two ?><br>
<?lsmb statement.address.line_two ?> <?lsmb END ?><br>
<?lsmb statement.address.city ?> <?lsmb IF statement.address.state ?> ,
<?lsmb statement.address.state ?> <?lsmb END ?>
<?lsmb statement.address.mail_code ?><br></td>
</tr>
</table>
</td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td>
<table width="100%">
<tr>
<th align="left"><?lsmb text('Invoice #') ?></th>
<th align="left"><?lsmb text('Order #') ?></th>
<th width="10%"><?lsmb text('Date') ?></th>
<th width="10%"><?lsmb text('Due') ?></th>
<th width="10%"><?lsmb text('Current') ?></th>
<th width="10%"><?lsmb text('30') ?></th>
<th width="10%"><?lsmb text('60') ?></th>
<th width="10%"><?lsmb text('90') ?></th>
<th width="10%"><?lsmb text('Total') ?></th>
<th width="10%"><?lsmb text('Currency') ?></th>
</tr>
<tr>
<td colspan="10">
<hr size="1">
</td>
</tr>
<?lsmb- FOREACH invoice IN statement.aging.rows ;
IF invoice.html_class.defined ;
row_class = 'class="subtotal"';
ELSE ;
row_class = '';
END; ?>
<tr <?lsmb row_class ?> >
<?lsmb- IF invoice.html_class.defined ?>
<td><?lsmb text('Total') ?></td>
<?lsmb- ELSE ?>
<td><?lsmb invoice.invnumber ?></td>
<?lsmb- END ?>
<td><?lsmb invoice.ordnumber ?></td>
<td><?lsmb invoice.transdate ?></td>
<td><?lsmb invoice.duedate ?></td>
<td align="right"><?lsmb invoice.c0_tc ?></td>
<td align="right"><?lsmb invoice.c30_tc ?></td>
<td align="right"><?lsmb invoice.c60_tc ?></td>
<td align="right"><?lsmb invoice.c90_tc ?></td>
<td align="right"><?lsmb invoice.total_tc ?></td>
<td><?lsmb invoice.curr ?></td>
</tr>
<?lsmb- IF invoice.html_class == 'listsubtotal' ; ?>
<tr class="subtotal">
<td colspan="10">
<hr size="1">
</td>
</tr>
<?lsmb- END -?>
<?lsmb END -?>
</table>
</td>
</tr>
</table><?lsmb END ?>
</body>
</html>