Files
scripts_serv/ledger/custom/timecard.html
T
2026-10-02 22:35:11 +02:00

132 lines
3.7 KiB
HTML

<?lsmb# This is a comment block; it's ignored by the template engine.
Version: 1.0
Date: 2021-01-04
File: timecard.html
Set: demo
Template version numbers are explicitly not aligned across templates or
releases. No explicit versioning was applied before 2021-01-04.
-?>
<!DOCTYPE html>
<html>
<head>
<meta name="generator" content="HTML Tidy for HTML5 for Linux version 5.6.0">
<title><?lsmb text('Time Card') ?></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}
</style>
</head>
<body>
<table width="100%">
<?lsmb INCLUDE letterhead ?>
<tr>
<th colspan="3">
<h4 class="c1"><?lsmb text('Time Card') ?></h4>
</th>
</tr>
<tr>
<td>
<table width="100%" cellspacing="0" cellpadding="0">
<tr valign="top">
<td>
<table>
<tr>
<th align="left"><?lsmb text('Employee') ?></th>
<td><?lsmb employee ?></td>
</tr>
<tr>
<th align="left"><?lsmb text('ID') ?></th>
<td><?lsmb employee_id ?></td>
</tr>
</table>
</td>
<td align="right">
<table>
<tr>
<th align="left" nowrap><?lsmb text('Card ID') ?></th>
<td><?lsmb id ?></td>
</tr>
<tr>
<th align="left" nowrap><?lsmb text('Date') ?></th>
<td><?lsmb transdate ?></td>
</tr>
<tr>
<th align="left" nowrap><?lsmb text('In') ?></th>
<td><?lsmb checkedin ?></td>
</tr>
<tr>
<th align="left"><?lsmb text('Out') ?></th>
<td><?lsmb checkedout ?></td>
</tr>
<tr>
<th align="left" nowrap><?lsmb text('Hours') ?></th>
<td><?lsmb qty ?></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td>
<table width="100%">
<tr valign="bottom">
<td>
<table>
<tr valign="top">
<th align="left"><?lsmb text('Job/Project #') ?></th>
<td><?lsmb projectnumber ?></td>
</tr>
<tr>
<th align="left"><?lsmb text('Description') ?></th>
<td><?lsmb projectdescription ?></td>
</tr>
<tr valign="top">
<th align="left"><?lsmb text('Labor/Service Code') ?></th>
<td><?lsmb partnumber ?></td>
</tr>
<tr>
<th align="left"><?lsmb text('Description') ?></th>
<td><?lsmb description ?></td>
</tr>
</table>
</td>
<td align="right">
<table>
<tr>
<th align="right"><?lsmb text('Rate') ?></th>
<td><?lsmb sellprice ?></td>
</tr>
<tr>
<th align="right"><?lsmb text('Total') ?></th>
<td><?lsmb total ?></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr><?lsmb IF notes ?>
<tr>
<td></td>
</tr>
<tr>
<td>
<?lsmb FOREACH P IN notes.split('\n\n') ?>
<p><?lsmb P ?></p><?lsmb END ?>
</td>
</tr><?lsmb END ?>
</table>
</body>
</html>