<?php echo $__env->make('docs._printhead', ['title'=>'QUOTATION','no'=>$q->quotation_no,'date'=>'Date: '.fdate($q->quotation_date).' · Valid till '.fdate($q->valid_until)], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
<div class="doc-meta"><div><b>Quote to:</b><br><b><?php echo e($q->customer->name); ?></b><br><?php echo e($q->customer->address); ?><br><?php echo e($q->customer->phone); ?> · <?php echo e($q->customer->email); ?><br>TIN: <?php echo e($q->customer->tin ?? '—'); ?></div>
<div><b>Subject:</b> <?php echo e($q->subject ?? '—'); ?><br><b>Status:</b> <?php echo e(ucfirst($q->status)); ?></div></div>
<div class="twrap"><table class="tbl"><thead><tr><th>#</th><th>Product</th><th>Description</th><th class="r">Qty (t)</th><th class="r">Rate</th><th class="r">Disc</th><th class="r">Amount</th></tr></thead>
<tbody><?php $__currentLoopData = $q->lines; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $i=>$l): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?><tr><td><?php echo e($i+1); ?></td><td><?php echo e($l->product->display_name ?? ''); ?></td><td><?php echo e($l->description); ?></td><td class="r"><?php echo e(qty($l->qty_tonnes)); ?></td><td class="r"><?php echo e(money($l->rate)); ?></td><td class="r"><?php echo e(money($l->discount)); ?></td><td class="r"><?php echo e(money($l->amount)); ?></td></tr><?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?></tbody></table></div>
<div class="totals"><div><span>Subtotal</span><b><?php echo e(money($q->subtotal)); ?></b></div>
<?php if($q->discount_amount): ?><div><span>Discount</span><span>(<?php echo e(money($q->discount_amount)); ?>)</span></div><?php endif; ?>
<div><span>NHIL 2.5%</span><span><?php echo e(money($q->levy_nhil)); ?></span></div><div><span>GETFund 2.5%</span><span><?php echo e(money($q->levy_getfund)); ?></span></div>
<div><span>COVID 1%</span><span><?php echo e(money($q->levy_covid)); ?></span></div><div><span>VAT 15%</span><span><?php echo e(money($q->vat_amount)); ?></span></div>
<div class="gt"><span>GRAND TOTAL</span><b><?php echo e(cmoney($q->grand_total)); ?></b></div></div>
<?php echo $__env->make('docs._printfoot', ['terms'=>$q->terms], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
<?php /**PATH /home/user/nowills-sqc-erp/resources/views/docs/quotation/print.blade.php ENDPATH**/ ?>