FIX_INVOICE_PRINT ISSUE
This commit is contained in:
parent
942d6dd763
commit
1c0adaf459
@ -279,25 +279,25 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<th>S.no</th>
|
<th>S.no</th>
|
||||||
<th style="text-align: left;">Item Name</th>
|
<th style="text-align: left;">Item Name</th>
|
||||||
<th>Qty</th>
|
<th style="text-align: left;">Qty</th>
|
||||||
<th>Rate(₹)</th>
|
<th style="text-align: left;">Rate(₹)</th>
|
||||||
<th>Total(₹)</th>
|
<th style="text-align: left;">Total(₹)</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php $serialNumber = 1; ?>
|
<?php $serialNumber = 1; ?>
|
||||||
<?php foreach ($invoiceItems as $item) : ?>
|
<?php foreach ($invoiceItems as $item) : ?>
|
||||||
<tr>
|
<tr>
|
||||||
<td style="display:flex;align-items:flex-start">
|
<td style="text-align: center; vertical-align: top;">
|
||||||
<?= $serialNumber++; ?>
|
<?= $serialNumber++; ?>
|
||||||
</td>
|
</td>
|
||||||
<td><?= $item->title ?><br>
|
<td><?= $item->title ?><br>
|
||||||
<span><?php if ($item->description != '') { ?><span style="font-size:6pt"><?php echo $item->description ?></span><?php } ?></span>
|
<span><?php if ($item->description != '') { ?><span style="font-size:6pt"><?php echo $item->description ?></span><?php } ?></span>
|
||||||
</td>
|
</td>
|
||||||
<td style="align-content: flex-start;text-align: start;"><?= $item->quantity ?></td>
|
<td style="text-align: start;"><?= $item->quantity ?></td>
|
||||||
<td style="align-content: flex-start;text-align: start;"><?= number_format($item->unit_price, 2, '.', ',') ?></td>
|
<td style="text-align: start;"><?= number_format($item->unit_price, 2, '.', ',') ?></td>
|
||||||
<td style="align-content: flex-start;"><?= number_format($item->subtotal, 2, '.', ',') ?></td>
|
<td style="text-align: start;"><?= number_format($item->subtotal, 2, '.', ',') ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user