IMMREX7

aku nok ndi : /home/spdtg/www/schoolmis/storage/framework/views/
File Up :
aku nok ndi : /home/spdtg/www/schoolmis/storage/framework/views/ccdbca6f6caf16b107befd1972bf3ef7660a6f81.php

<?php $__env->startSection('content'); ?>
<div class="row clearfix">
    <div class="col-sm-12">
        <div class="card">
            <div class="header">
                <h2><strong>Upload Quotations</strong></h2>
            </div>
            <div class="body table-responsive">
                <?php echo Form::open(['method' => 'GET',  'action' => ['School\Stock\QuotationController@viewUpload'], 'class' => 'form-horizontal']); ?>

                    <div class="row clearfix">
                        <div class="col-sm-2"></div>
                        <div class="col-sm-2 form-control-label">
                            <label for="classname">Financial Year</label>
                        </div>
                        <div class="col-sm-3">
                            <div class="form-group">
                               <?php echo Form::select('idFinancialYear',fys(),null,['class' => 'form-control show-tick ms']); ?>

                            </div>
                        </div>
                        <div class="col-sm-2">
                            <?php echo Form::submit('Search',['class' => 'btn btn-raised btn-primary btn-round waves-effect']); ?>

                        </div>
                    </div>
                <?php echo Form::close(); ?> 
                <br>
                <table class="table table-bordered table-striped table-hover js-basic-example dataTable">
                    <thead>
                        <tr>
                            <th>S. No.</th>
                            <th>Request Date</th>
                            <th>Expected Delivery Date</th>
                            <th>Product Details</th>
                            <th>Vendor/Supplier</th>
                            <th>Action</th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php $i = 1; ?>
                        <?php $__currentLoopData = $quotations; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <tr>
                            <th scope="row"><?php echo e($i); ?></th>
                            <td><?php echo e($value->quotationDate); ?></td>
                            <td><?php echo e($value->expDeliveryDate); ?></td>
                            <td>
                            <?php $__currentLoopData = $value->details; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $det): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <?php echo e($det->product->productName); ?> - (x <?php echo e($det->quantity); ?>) ,<br>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </td>
                            <td><?php echo e($value->supplier->bussinessName); ?></td>
                            <td>
                                <form method="POST" action="<?php echo e(url('/school/quotations-upload')); ?>" enctype="multipart/form-data" accept-charset="UTF-8">
                                    <input type="hidden" name="_token" value="<?php echo e(csrf_token()); ?>" />
                                    <input type="hidden" name="id" value="<?php echo e($value->idQuotation); ?>"/>
                                    <input type="file" name="quotation" required/>
                                    <button class="btn btn-raised btn-success waves-effect btn-round" type="submit">Upload Quotation</button>
                                </form>
                                <?php if(isset($value->received_quotation)): ?>
                                <a href="<?php echo e(url('/storage/schools/').'/'.$value->idSchool.'/quotations/'.$value->received_quotation); ?>" target="_blank" class="btn btn-raised btn-warning waves-effect btn-round">View Quotation</a>
                                <?php endif; ?>
                            </td>
                        </tr>
                        <?php $i++; ?>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('script'); ?>
<script>

</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('schools.school_layout', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

Copyright © 2021 - 2025 IMMREX7