Change footer styling
This commit is contained in:
parent
7267ae79be
commit
1fe0104815
4 changed files with 56 additions and 25 deletions
|
|
@ -17,6 +17,23 @@
|
|||
.company {
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
.invoice-details table {
|
||||
width: 200px;
|
||||
}
|
||||
.client small.sender {
|
||||
color: #408236;
|
||||
}
|
||||
table.footer th, table.footer td {
|
||||
vertical-align: top;
|
||||
color: #408236;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
table.footer td.first-child {
|
||||
width: 180px;
|
||||
}
|
||||
hr.footer {
|
||||
color: #408236;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
|
@ -26,8 +43,8 @@
|
|||
<?php echo invoice_logo_pdf(); ?>
|
||||
</div>
|
||||
|
||||
<div id="client">
|
||||
<b><?php echo lang('bill_to'); ?></b>:
|
||||
<div id="client" class="client">
|
||||
<small class="sender">Heinrich GmbH • Blumenstraße 16-18 • 75233 Tiefenbronn</small>
|
||||
<div>
|
||||
<?php _htmlsc(format_client($invoice)); ?>
|
||||
</div>
|
||||
|
|
@ -113,18 +130,17 @@
|
|||
|
||||
<div class="invoice-details clearfix">
|
||||
<table>
|
||||
<tr>
|
||||
<td>Rechnung Nr.:</td>
|
||||
<td><?php echo $invoice->invoice_number; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan=2><small>(Bitte bei Zahlungen immer angeben.)</small></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php echo trans('invoice_date') . ':'; ?></td>
|
||||
<td><?php echo date_from_mysql($invoice->invoice_date_created, true); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php echo trans('due_date') . ': '; ?></td>
|
||||
<td><?php echo date_from_mysql($invoice->invoice_date_due, true); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php echo trans('amount_due') . ': '; ?></td>
|
||||
<td><?php echo format_currency($invoice->invoice_balance); ?></td>
|
||||
</tr>
|
||||
<?php if ($payment_method): ?>
|
||||
<tr>
|
||||
<td><?php echo trans('payment_method') . ': '; ?></td>
|
||||
|
|
@ -146,7 +162,7 @@
|
|||
<?php if ($show_item_discounts) : ?>
|
||||
<th class="item-discount text-right"><?php _trans('discount'); ?></th>
|
||||
<?php endif; ?>
|
||||
<th class="item-total text-right"><?php _trans('total'); ?></th>
|
||||
<th class="item-total text-right">Gesamt</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
|
@ -251,7 +267,7 @@
|
|||
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
<footer class="footer">
|
||||
<?php if ($invoice->invoice_terms) : ?>
|
||||
<div class="notes">
|
||||
<b><?php _trans('terms'); ?></b><br/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue