bbnepal new changes
This commit is contained in:
@ -23,7 +23,7 @@
|
||||
<div class="col">
|
||||
<p><strong>Bill Number:</strong> <?php echo $Purchase->purchase_id; ?></p>
|
||||
<p><strong>Date:</strong> <?php echo dbDate($Purchase->purchase_date); ?></p>
|
||||
<p><strong>Vendor:</strong> <?php echo $this->myaccounts->getAccountDetails($Purchase->accounts_id)->account_name; ?></p>
|
||||
<p><strong>Vendor:</strong> <?php echo (($this->myaccounts->getAccountDetails($Purchase->accounts_id)->account_name ?? "")); ?></p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@ -40,6 +40,9 @@
|
||||
<div class="col">
|
||||
<p class="text-right"><strong>Price</strong></p>
|
||||
</div>
|
||||
<div class="col">
|
||||
<p class="text-right"><strong>VAT</strong></p>
|
||||
</div>
|
||||
<div class="col">
|
||||
<p class="text-right"><strong>Total</strong></p>
|
||||
</div>
|
||||
@ -58,7 +61,10 @@
|
||||
<p><?php $rate=$PurchaseDetail->rate; echo myCurrency($rate); ?></p>
|
||||
</div>
|
||||
<div class="col">
|
||||
<p><?php $ltotal=$rate*$qty; $total+=$ltotal; echo myCurrency($ltotal); ?></p>
|
||||
<p><?php $vat=$PurchaseDetail->vat; echo myCurrency($vat); ?></p>
|
||||
</div>
|
||||
<div class="col">
|
||||
<p><?php $ltotal=$rate*$qty*((100-$vat)/100); $total+=$ltotal; echo myCurrency($ltotal); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user