/
home
/
sjslayjy
/
public_html
/
tabson_test
/
storage
/
framework
/
views
/
Upload File
HOME
<?php $__env->startSection('title','View Quotation'); ?> <?php $__env->startSection('content'); ?> <div class="main-content"> <div class="main-content-inner"> <div class="breadcrumbs ace-save-state" id="breadcrumbs"> <ul class="breadcrumb"> <li> <i class="ace-icon fa fa-home home-icon"></i> <a href="#">Home</a> </li> <li class="active">View Supplier Quotations</li> </ul> </div> <div class="page-content"> <div class="row"> <span style="float: right;padding: 10px;" onclick="handlePrint()"><i class="fa fa-print fa-2x" aria-hidden="true"></i></span> <div class="panel panel-primary" id="supplier_quotation_id"> <div class="panel-heading"> <h3 class="panel-title text-center">Supplier Quotation</h3> </div> <div class="panel-body"> <div id="quotation_div"> <div class="card" style="border: 1px solid #337ab7;border-radius: 8px;padding: 10px;"> <?php $__currentLoopData = $supplier_quotations; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$supplier_quotation): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <table class="table table-responsive"> <tr> <td> <label><b>Department :</b></label> <p><?php echo e($supplier_quotation->pr_department); ?></p> </td> <td> <label><b>PR Date :</b></label> <p><?php echo e($supplier_quotation->pr_date); ?></p> </td> <td> <label><b>Project :</b></label> <p><?php echo e($supplier_quotation->pr_project); ?></p> </td> <td> <label><b>Circle</b></label> <p><?php echo e($supplier_quotation->pr_circle); ?></p> </td> <td> <label><b>PR Status :</b></label> <p><?php echo e($supplier_quotation->pr_status); ?></p> </td> </tr> <tr> <td> <label><b>Site :</b></label> <p><?php echo e($supplier_quotation->pr_site); ?></p> </td> <td> <label><b>Preparer Name :</b></label> <p><?php echo e($supplier_quotation->pr_preparer_name); ?></p> </td> <td> <label><b>Customer :</b></label> <p><?php echo e($supplier_quotation->pr_customer); ?></p> </td> <td> <label><b>Business Unit</b></label> <p><?php echo e($supplier_quotation->pr_business_unit); ?></p> </td> </tr> </table> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <?php $__currentLoopData = $supplier_quotation_details; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$sup_detail): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="card vendor_quotation" id="vendor_quotation_1" style="border: 1px solid #337ab7;border-radius: 8px;padding: 10px;"> <div class="card-header"> <h4 class="text-center"><b>(<?php echo e($sup_detail->vendor_name); ?>) Quotation <?php echo e($key+1); ?></b></h4> <hr style="padding: 0;margin: 0;"> </div> <div class="card-body"> <table class="table table-responsive"> <tr> <td> <div class="form-group"> <label for="vendor_code">Vendor Code</label> <input class="form-control" type="text" value="<?php echo e($sup_detail->vendor_code); ?>" readonly> </div> </td> <td> <div class="form-group"> <label for="vendor_name">Vendor Name</label> <input type="text" class="form-control" value="<?php echo e($sup_detail->vendor_name); ?>" readonly> </div> </td> </tr> <tr> <td> <div class="form-group"> <label for="vendor_address">Vendor Address</label> <input class="form-control" type="text-area" value="<?php echo e($sup_detail->vendor_address); ?>" readonly="readonly"> </div> </td> <td> <div class="form-group"> <label for="vendor_state">Vendor State</label> <input class="form-control" type="text-area" value="<?php echo e($sup_detail->vendor_state); ?>" readonly> </div> </td> </tr> </table> <div class="row grid-margin"> <div class="col-lg-12" id="pr_items_1"> <table class="table table-bordered"> <tr> <td>S. No.</td> <td>Item Code</td> <td>Description</td> <td>Specification</td> <td>UoM</td> <td>Make</td> <td>Quantity</td> <td>Quoted Rate</td> <td>Amount</td> <td>GST %age</td> </tr> <?php $i = 1; ?> <?php $__currentLoopData = $supplier_quotation_item_details; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key1=>$supplier_item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if($supplier_item->vendor_quotation_detail_id == $sup_detail->id): ?> <tr> <td><?php echo e($i++); ?></td> <td><?php echo e($supplier_item->item_code); ?></td> <td><?php echo e($supplier_item->description); ?></td> <td><?php echo e($supplier_item->specification); ?></td> <td><?php echo e($supplier_item->uom); ?></td> <td><?php echo e($supplier_item->make); ?></td> <td><?php echo e($supplier_item->qty); ?></td> <td><?php echo e($supplier_item->quoted_rate); ?></td> <td><?php echo e($supplier_item->item_amount); ?></td> <td><?php echo e($supplier_item->gst_percentage); ?></td> </tr> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </table> </div> </div> <table class="table table-borderless"> <tr> <td> <div class="form-group"> <label for="delivery_term">Delivery Term</label> <input class="form-control" type="text-area" value="<?php echo e($sup_detail->delivery_term); ?>" readonly> </div> </td> <td> <div class="form-group"> <label for="payment_term">Payment Term</label> <input class="form-control" type="text-area" value="<?php echo e($sup_detail->payment_term); ?>" readonly> </div> </td> <td> <div class="form-group"> <label for="freight_amount_1">Freight Amount</label> <input class="form-control" type="text" value="<?php echo e($sup_detail->freight_amount); ?>" readonly> </div> </td> <td> <div class="form-group"> <label for="total_basic_amount_1">Total Basic Amount</label> <input class="form-control" type="text" value="<?php echo e($sup_detail->total_basic_amount); ?>" readonly> </div> </td> </tr> <tr> <td> <div class="form-group"> <label for="warranty_term">Warranty Term</label> <input class="form-control" type="text" value="<?php echo e($sup_detail->warranty_term); ?>" readonly> </div> </td> <td> <div class="form-group"> <label for="special_term_1">Special Term & Condition:</label> <input class="form-control" type="text-area" value="<?php echo e($sup_detail->special_term); ?>" readonly> </div> </td> <td> <div class="form-group"> <label for="gst_amount_1">GST Amount</label> <input class="form-control" type="text" value="<?php echo e($sup_detail->gst_amount); ?>" readonly> </div> </td> <td> <div class="form-group"> <label for="total_amount_1">Total Amount</label> <input class="form-control" type="text" value="<?php echo e($sup_detail->total_amount); ?>" readonly> </div> </td> </tr> </table> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> </div> </div> </div><!-- /.page-content --> </div> </div><!-- /.main-content --> <?php $__env->startSection('script'); ?> <?php echo e(Html::script("assets/js/jquery.dataTables.min.js")); ?> <?php echo e(Html::script("assets/js/jquery.dataTables.bootstrap.min.js")); ?> <?php echo e(Html::script("assets/js/dataTables.buttons.min.js")); ?> <?php echo e(Html::script("assets/js/buttons.flash.min.js")); ?> <?php echo e(Html::script("assets/js/buttons.html5.min.js")); ?> <?php echo e(Html::script("assets/js/buttons.print.min.js")); ?> <?php echo e(Html::script("assets/js/buttons.colVis.min.js")); ?> <?php echo e(Html::script("assets/js/dataTables.select.min.js")); ?> <?php echo e(Html::script("assets/js/ace-elements.min.js")); ?> <?php echo e(Html::script("assets/js/ace.min.js")); ?> <?php echo e(Html::script("js/sweetalert2.all.js")); ?> <script type="text/javascript"> function handlePrint() { //Get the HTML of div var divElements = document.getElementById('supplier_quotation_id').innerHTML; //Get the HTML of whole page var oldPage = document.body.innerHTML; //Reset the page's HTML with div's HTML only document.body.innerHTML = "<html><head><title></title></head><body>" + divElements + "</body>"; //Print Page window.print(); //Restore orignal HTML document.body.innerHTML = oldPage; } </script> <?php $__env->stopSection(); ?> <?php $__env->stopSection(); ?> <?php echo $__env->make('dashboard.layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/scm/resources/views/dashboard/supplier-quotation/view-quotation.blade.php ENDPATH**/ ?>