IMMREX7

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

<?php $__env->startSection('content'); ?>
<div class="container-fluid">
<div class="row clearfix">
<div class="col-lg-12">
<div class="tab-content">
<div role="tabpanel" class="tab-pane in active" id="details" aria-expanded="true">
<div class="card" id="details">
    <div class="body">                                
        <div class="row">
            <div class="col-md-6 col-sm-6">
                <?php  $student = \App\AdmEntry::where('idStudent', '=', $transaction->idStudent)->first();?>
                <address>
                    <strong><?php echo e($student->firstName); ?> <?php echo e($student->middleName); ?> <?php echo e($student->lastName); ?></strong><br>
                    <?php echo e($student->ecNo); ?> <br>
                    <?php echo e($student->father_fname); ?> <?php echo e($student->father_lname); ?><br>
                    <abbr title="Phone">Mobile:</abbr> <?php echo e($student->father_mobile); ?> 
                </address>
            </div>
            <div class="col-md-6 col-sm-6 text-right">
                <p class="m-b-0"><strong>Order Date: </strong> <?php echo e($transaction->paymentDate); ?></p>
                <p class="m-b-0"><strong>Order Status: </strong> <span class="badge bg-green">Paid</span></p>
                <p class="m-b-0"><strong>Receipt No: </strong> <?php echo e($transaction->receiptNo); ?></p>
            </div>
        </div>
        <div class="mt-40"></div>
        <div class="row">
            <div class="col-md-12">
                <div class="table-responsive">
                    <table class="table table-hover">
                        <thead>
                            <tr>
                                <th>#</th>                                                        
                                <th width="60px">Item</th>
                                <th></th>
                                <th>Quantity</th>
                                <th class="hidden-sm-down">Unit Cost</th>
                                <th>Total</th>
                            </tr>
                        </thead>
                        <tbody>
                            <?php $k =0; ?>
                            <?php $__currentLoopData = $transaction->details; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $det): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <?php 
                            $product =  \App\Product::where('idProduct',$det->idProduct)->first();
                            $k++; ?>
                            <tr>
                                <td><?php echo e($k); ?></td>
                                <td>
                                    <?php if(isset($product->productImage)): ?>
                                    <img src="<?php echo e(asset('storage/schools/'.$product->idSchool.'/products/'.$product->productImage)); ?>" width="40" alt="Product img">
                                    <?php endif; ?>
                                </td>
                                <td><?php if(isset($product->productName)): ?> <?php echo e($product->productName); ?> <?php endif; ?></td>
                                <td><?php echo e($det->qty); ?></td>
                                <td class="hidden-sm-down">₹<?php echo e($det->unitPrice); ?></td>
                                <td>₹<?php echo e($det->amountPaid); ?></td>
                            </tr>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
        <hr>
        <div class="row">
            <div class="col-md-6">
            </div>
            <div class="col-md-6 text-right">
                <p class="m-b-0"><b>Sub-total:</b> ₹<?php echo e($transaction->totalPaid); ?></p>
                <p class="m-b-0">Discout: ₹<?php echo e($transaction->discount); ?></p>                                     
                <h3 class="m-b-0 m-t-10">₹<?php echo e($transaction->totalPaid); ?></h3>
            </div>
        </div>
        <hr>
    </div>
</div>
</div>                  
</div>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('schools.school_layout', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

Copyright © 2021 - 2025 IMMREX7