/
home
/
sjslayjy
/
public_html
/
tabson
/
storage
/
framework
/
views
/
Upload File
HOME
<?php $__env->startSection('style'); ?> <script src="https://use.fontawesome.com/e2d16502eb.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <style> #page-wrap { width: 285mm; height:210mm; margin: 0 auto; } td { font-size:14px; } #pageFooter { display: table-footer-group; } #pageFooter:after { counter-increment: page; content: counter(page); } @media all { .page-break { display: none; } } @media print { .page-break { display: block; page-break-before: always; } } @media print { .page-wrapid{ display: block; page-break-before: always; } } body{ font-family: calibri; } </style> <link href="https://fonts.googleapis.com/css?family=Droid+Sans" rel="stylesheet"> </head> <body> <div id="page-wrap" class="content-box pad25A" style="page-break-after: always;"> <?php if($is_mail == true): ?> <?php if($role_id == '7'): ?> <h5>Dear <?php echo e($bh); ?></h5> <p>Mr. <?php echo e($po_creater); ?> </p> <p>has generated PO No. – <?php echo e($po->po_number); ?> against <?php echo e(getPRIdByPONumber($po->id)); ?> and request you to Approve the Purchase Order </p> <?php endif; ?> <?php if($role_id == '4'): ?> <h5>Dear <?php echo e($d); ?></h5> <p><?php echo e($po_creater); ?> </p> <h5><?php echo e($bh); ?></h5> <p>has requested & Approved PO No. – <?php echo e($po->po_number); ?> and request you to Approve the Purchase Request </p> <?php endif; ?> <?php endif; ?> <?php if($is_mail == false): ?> <div class="text-center" style="padding-left: 500px;"> <button onclick="window.print();" class="btn btn-primary" id="print">Print</button> </div> <?php endif; ?> <br> <table width="95%" style="border:1px solid; color:black;" cellspacing="0" cellpadding="0"> <tr> <td style="height: 38px;border-bottom:1px solid;" valign="top"> <img src="<?php echo e(asset('/assets/images/ats_logo/tabson-india.png')); ?>" alt="logo" height="50px"/> <p style="text-align:center;font-weight:bolder;margin-top:-22px; font-size: 22px; line-height: 22px;"><b> TABSONS INDIA INNOVATORS PVT. LTD.</b></p> </td> </tr> <tr> <td style="height: 38px;border-bottom:1px solid;" valign="top"> <p style="text-align:center;font-weight:bolder;margin-top: 15px; font-size: 17px;"><b> <?php if($po->po_type==1): ?>Purchase Order <?php endif; ?> <?php if($po->po_type==2): ?>Work Order <?php endif; ?> <?php if($po->po_type==''): ?>Purchase Order <?php endif; ?> </b></p> </td> </tr> </table> <table width="95%" style="border:1px solid; color:black;" cellspacing="0" cellpadding="0"> <tr> <!-- <td style="height: 30px;border-bottom:1px solid;" valign="top"> --> <td width="50%"> <table style="width: 100%"> <tr> <td width="40%" style="height:30px; text-align: left;"> <p style="padding: 5px;"><strong>Vendor Code : </strong> </p> </td> <td width="60%" style="height:30px; border-right:1px solid;"><p style="padding: 5px;"><?php echo e($po->vendor_code); ?></p></td> </tr> <tr> <td width="30" style="height:30px; text-align: left;"> <p style="padding: 5px;"><strong>Supplier Name :</strong> </p> </td> <td width="20%" style="height:30px;border-right:1px solid;"> <p style="padding: 5px;"><?php echo e($po->vendor_name); ?></p> </td> </tr> <tr> <td width="50" style="height:30px; text-align: left;"> <p style="padding: 5px;"><strong>Supplier Address : </strong> </p> </td> <td width="20%" style="height:30px;border-right:1px solid;"><p style="padding: 5px;"><?php echo e($po->address); ?></p></td> </tr> <tr> <td width="30" style="height:30px; text-align: left;"> <p style="padding: 5px;"><strong>Status :</strong> </p> </td> <td width="20%" style="height:30px;border-right:1px solid;"> <p style="padding: 5px;"><?php echo e($po->status); ?></p> </td> </tr> <tr> <!-- <td width="30" style="height:38px; text-align: left;"> <p style="padding: 5px;"><strong></strong> </p> </td> <td width="20%" style="height:38px;border-right:1px solid;"> <p style="padding: 5px;"></p> </td> --> <td width="30" style="height:30px; text-align: left;"> <p style="padding: 5px;"><strong>Document Type :</strong> </p> </td> <td width="20%" style="height:30px;border-right:1px solid;"> <p style="padding: 5px;"><?php echo e($po->document_type); ?></p> </td> </tr> <tr> <td width="30" style="height:30px; text-align: left;"> <p style="padding: 5px;"><strong>Supplier GSTIN No :</strong> </p> </td> <td width="20%" style="height:30px;border-right:1px solid;"> <p style="padding: 5px;"><?php echo e($po->s_gst); ?></p> </td> </tr> <tr> <td width="30" style="height:30px; text-align: left;"> <p style="padding: 5px;"><strong>Bill To Address:</strong> </p> </td> <td width="20%" style="height:30px;border-right:1px solid;"> <?php if($po->c_name == "Uttrakhand" && $po->created_at > "2024-05-31"): ?> <p style="padding: 5px;">TABSONS INDIA INNOVATORS PVT. LTD.,<br> Annapurna Cold Store Compound, Village Fauji Matkota, PO. Bhurarani, Rudrapur,<br><br> Distt. Udham Singh Nagar, Uttarakhand, 263153</p> <?php elseif($po->c_name == "Uttrakhand"): ?> <p style="padding: 5px;"><?php echo e($po->Bill_to_address); ?></p> <?php else: ?> <p style="padding: 5px;"><?php echo e($po->Bill_to_address); ?></p> <?php endif; ?> </td> </tr> <tr> <td width="30" style="height:30px; text-align: left;"> <p style="padding: 5px;"><strong>Our GSTIN No:</strong> </p> </td> <td width="20%" style="height:30px;border-right:1px solid;"> <p style="padding: 5px;"><?php echo e($po->c_gst); ?></p> </td> </tr> <tr> <td width="30" style="height:30px; text-align: left;"> <p style="padding: 5px;"><strong>Cirlce:</strong> </p> </td> <td width="20%" style="height:30px;border-right:1px solid;"> <p style="padding: 5px;"><?php echo e($po->c_name); ?></p> </td> </tr> </table> </td> <td width="50%"> <table width="100%"> <tr> <td width="40%" style="height:30px; text-align: left;"> <p style="padding: 5px;"><strong>PO No :</strong> </p> </td> <td width="60%" style="height:30px; "> <p style="padding: 5px;"><?php echo e($po->po_number); ?></p> </td> </tr> <tr> <td width="30" style="height:30px; text-align: left;"> <p style="padding: 5px;"><strong>PO Date:</strong> </p> </td> <td width="20%" style="height:30px;"> <p style="padding: 5px;"><?php echo e(date('d-m-Y', strtotime($po->created_at))); ?></p> </td> </tr> <tr> <td width="30" style="height:30px; text-align: left;"> <p style="padding: 5px;"><strong>Amendment No :</strong> </p> </td> <td width="20%" style="height:30px; "> <p style="padding: 5px;"><?php echo e($po->amendment_number); ?></p> </td> </tr> <tr> <td width="30" style="height:30px; text-align: left;"> <p style="padding: 5px;"><strong>Amendment Date :</strong> </p> </td> <td width="20%" style="height:30px; "> <p style="padding: 5px;"><?php echo e(date("d-m-Y", strtotime($po->updated_at))); ?></p> </td> </tr> <tr></tr> <tr> <td width="30" style="height:30px; text-align: left;"> <p style="padding: 5px;"><strong>Reference No. :</strong> </p> </td> <td width="20%" style="height:30px; "> <p style="padding: 5px;"><?php echo e($po->reference_no); ?></p> </td> </tr> <tr> <td width="30" style="height:30px; text-align: left;"> <p style="padding: 5px;"><strong>Delivery Address :</strong> </p> </td> <td width="20%" style="height:30px; "> <p style="padding: 5px;"><?php echo e($po->delivery_address); ?></p> </td> </tr> <tr> <td width="30" style="height:30px; text-align: left;"> <p style="padding: 5px;"><strong>Buyer :</strong> </p> </td> <td width="20%" style="height:30px; "> <p style="padding: 5px;"><?php echo e($po->b_name); ?></p> </td> </tr> <tr> <td width="30" style="height:30px; text-align: left;"> <p style="padding: 5px;"><strong>Contact Number :</strong> </p> </td> <td width="20%" style="height:30px; "> <p style="padding: 5px;"><?php echo e($po->contact); ?></p> </td> </tr> </table> </td> </tr> </table> <table width="95%" style="border:1px solid; color:black;" cellspacing="0" cellpadding="0"> <tr> <td colspan="6" style="height: 38px;border-top:1px solid;"><strong style="font-size: 14px;margin-left: 5px;">PO Item Details</strong></td> </tr> <tr> <td width="100%"> <table cellspacing="0" cellpadding="0" width="100%"> <?php $__currentLoopData = $item_data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $i=>$item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if (strlen($item->description) < strlen($item->specification)) { $desc_width = 20; $spec_width = 20; } else { $desc_width = 28; $spec_width = 12; } ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <tr> <td style="border-top:1px solid; border-right:1px solid; height:20px; text-align:center;" width="3%"> <strong>Id</strong> </td> <td width="8%" style="border-top:1px solid; border-right:1px solid; text-align:center; height:20px;"> <strong>Item Code</strong> </td> <td width="<?php echo e($desc_width ?? ''); ?>%" style="border-top:1px solid; border-right:1px solid; text-align:center; height:20px;"> <strong>Item Discription</strong> </td> <td width="<?php echo e($spec_width); ?>%" style="border-top:1px solid; border-right:1px solid; text-align:center; height:20px;"> <strong>Specification</strong> </td> <td width="8%" style="border-top:1px solid; border-right:1px solid; text-align:center; height:20px;"> <strong>Make</strong> </td> <td width="6%" style="border-top:1px solid; border-right:1px solid; text-align:center; height:20px;"> <strong>Quantity</strong> </td> <td width="4%" style="border-top:1px solid; border-right:1px solid; text-align:center; height:20px;"> <strong>UOM</strong> </td> <td width="4%" style="border-top:1px solid; border-right:1px solid; text-align:center; height:20px;"> <strong>Rate</strong> </td> <td width="6%" style="border-top:1px solid; border-right:1px solid;text-align: center; height:20px;"> <strong>Amount</strong> </td> <td width="6%" style="border-top:1px solid; border-right:1px solid;text-align:center; height:20px;"> <strong>GST Tax(%)</strong> </td> <td width="6%" style="border-top:1px solid; border-right:1px solid;text-align:center; height:20px;"> <strong>Tax Amount</strong> </td> <td width="8%" style="border-top:1px solid; border-right:1px solid;text-align:center; height:20px;"> <strong>Total Amount</strong> </td> </tr> <?php $__currentLoopData = $item_data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $i=>$item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if (strlen($item->description) < strlen($item->specification)) { $desc_width = 20; $spec_width = 20; } else { $desc_width = 28; $spec_width = 12; } ?> <tr> <td style="border-top:1px solid; border-right:1px solid; height:30px; text-align:center;" width="3%"><?php echo e($i+1); ?> </td> <td width="8%" style="border-top:1px solid; border-right:1px solid; text-align:left; height:30px; padding-left: 5px;"><?php echo e($item->code); ?></td> <td width="<?php echo e($desc_width ?? ''); ?>%" style="border-top:1px solid; border-right:1px solid; text-align:center; height:30px;"><?php echo e($item->description); ?></td> <td width="<?php echo e($spec_width); ?>%" style="border-top:1px solid; border-right:1px solid; text-align:center; height:30px;"><?php echo e($item->specification); ?></td> <td width="8%" style="border-top:1px solid; border-right:1px solid; text-align:center; height:30px;"><?php echo e($item->make); ?></td> <td width="6%" style="border-top:1px solid; border-right:1px solid; text-align:center; height:30px;"><?php echo e($item->qty); ?></td> <td width="4%" style="border-top:1px solid; border-right:1px solid; text-align:center; height:30px;"><?php echo e(getTableById('units',$item->uom)->name); ?></td> <td width="4%" style="border-top:1px solid; border-right:1px solid; text-align:center; height:30px;"><?php echo e($item->rate); ?></td> <td width="6%" style="border-top:1px solid; border-right:1px solid; text-align:center; height:30px;"><?php echo e($item->rate*$item->qty); ?></td> <td width="6%" style="border-top:1px solid; border-right:1px solid; text-align:center; height:30px;"><?php echo e($item->gst); ?> </td> <td width="6%" style="border-top:1px solid; border-right:1px solid; text-align:center; height:30px;"><?php echo e(round($item->qty*$item->rate*$item->gst/100, 2)); ?></td> <td width="8%" style="border-top:1px solid; text-align:center; height:30px; padding-left: 14px;"><b><?php echo e(round($item->rate*$item->qty+$item->qty*$item->rate*$item->gst/100, 2)); ?></b></td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <tr> <td colspan="11" style="border-top:1px solid; border-right:1px solid; text-align:right; height:30px; padding-right: 5px;">Total</td> <td style="border-top:1px solid; text-align:center; height:30px; padding-left: 10px;"><i class="fa fa-rupee" style="float: left; font-size: 16px;"></i><b><?php echo e(round($total_amount, 2)); ?></b></td> </tr> </table> </td> </tr> <tr > <td width="100%" style="height:38px; text-align: left; border-top:1px solid; "> <p style="padding: 5px;"><strong>Total Order Value : </strong><?php echo e(round($total_amount, 2)); ?></p> </td> </tr> <tr> <td width="100%" style="height:38px; text-align: left; border-top:1px solid; "> <p style="padding: 5px;"><strong>Total Value (in Words) : </strong><?php echo e($total_in_word); ?></p> </td> </tr> <tr > <td width="100%" style="height:38px; text-align: left; border-top:1px solid; "> <p style="padding: 5px;"><strong> Payment Term :</strong> <?php echo e($po->payment_terms); ?> </p> </td> </tr> <tr > <td width="100%" style="height:38px; text-align: left; border-top:1px solid; "> <p style="padding: 5px;"><strong> Delivery Periods : </strong> <?php if(is_numeric($po->delivery_periods_id)): ?> <?php echo e(getTableById('delivery_periods', $po->delivery_periods_id)->name); ?> <?php else: ?> <?php echo e(getModelById('PurchaseOrder', $po->id)->delivery_periods); ?> <?php endif; ?> </p> </td> </tr> <tr > <td width="100%" style="height:38px; text-align: left; border-top:1px solid; "> <p style="padding: 5px;"><strong> Delivery Terms : </strong> <?php echo e($po->delivery_terms); ?> </p> </td> </tr> <tr > <td width="100%" style="height:38px; text-align: left; border-top:1px solid; "> <p style="padding: 5px;"><strong>Warranty Terms :</strong> <?php echo e($po->warranty_terms); ?></p> </td> </tr> <tr > <td width="100%" style="height:38px; text-align: left; border-top:1px solid; "> <p style="padding: 5px;"><strong>Special Term & Cond. : </strong><?php echo e($po->stc); ?></p> </td> </tr> <tr > <td width="100%" style="height:38px; text-align: left; border-top:1px solid; "> <p style="padding: 5px;"><strong>General Terms: </strong> As Per Annexure here wiith</p> </td> </tr> <tr> <td width="100%" style="height:38px; text-align: left; border-top:1px solid; "> <p style="padding: 5px;"><strong><u>Supplier Note </u></strong></p> <h4>Instruction for Invoice :</h4> For Service PO :Ensure that the invoice is submitted to TABSON within 5 working days of completion of service as per PO.<br> For Goods PO :Ensure that the invoice is accompanying the goods. The goods delivered against Challan will not be received. As per attached Annexure <h4>Acceptance Notification:</h4> Please return the duplicate copy of this Purchase Order duly signed and stamped in acceptance of all Terms & Conditions here and reverse If formal acceptance is not received within 3 days, it will be presumed that you have accepted the order. </td> </tr> <tr> <table width="95%" style="border:1px solid;" cellspacing="0" cellpadding="0"> <tr> <td style="height:38px; text-align: left; border-right:1px solid; width: 45%;"> <strong>Supplier's Acceptance: <br><br><br> <p>Note: <br>1. Please quote our PO Number on Invoice and future correspondence<br> 2. Please quote our item code on invoices</p></strong><br> </td> <td style="height:38px; text-align: center; border-right:1px solid; width:15% ;"><strong>Date : <br><?php echo e(date("d-m-Y", strtotime($po->created_at))); ?></strong></td> <td style="height:38px; width:40% ;text-align: center;"> <strong>For TABSONS INDIA INNOVATORS PVT. LTD. <br> This is Electronic copy and does not require any signature <br><br><br><br><br> Authorized Signatory </strong> </td> </tr> </table> </tr> </table> <?php if($is_mail == true): ?> <p>Please Login to TABSON SCM Portal or Click on the below link to approve PO </p><a href="https://tabson.sjslalganj.com/user/po-view/<?php echo e($po->id); ?>">Click Here For Login!!</a><br> <p>This is a System generated Mail <br> Thanks</p> <?php endif; ?> <div id="pageFooter">Page </div> <script type="text/javascript"> $(function () { $(".content-box").each(function () { $(this).after('<div class="watermark" style="opacity: 0.2; position: absolute; top: 14%; left: 25%; display: flex; justify-content: center;margin-top:150px;"><img class="center" src="<?php echo e(url('/assets/images/ats_logo/tabson-india.png')); ?>" height="500px" width="600px"/></div>'); }); if('<?php echo e($po->status); ?>' == 'requested') { $(".content-box").each(function () { $(this).after('<div class="watermark" style="opacity: 0.2;position:absolute; top:50%; display:flex; left:15%;"><p style="font-size:350px;margin:0px; transform: rotate(-20deg);">DRAFT</p></div>'); }); } }); </script> </body> </html> <?php /**PATH /home/sjslayjy/public_html/tabson/resources/views/dashboard/po/po-mail.blade.php ENDPATH**/ ?>