KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.41 (Ubuntu)
System : Linux vmi1525618.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64
User : www-data ( 33)
PHP Version : 8.2.12
Disable Function : NONE
Directory :  /var/www/leadai/leadai.co.in/storage/framework/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/leadai/leadai.co.in/storage/framework/views/30dbe30bc3e07776c7759425209752a58012f7a3.php
<?php $__env->startSection('content'); ?>
   
    <style>
        .invoice {
            padding: 30px;
        }
        .invoice h2 {
            margin-bottom: 20px;
        }
        .table-invoice th, .table-invoice td {
            padding: 12px;
        }
        .total {
            font-size: 1.25rem;
            font-weight: bold;
        }
    </style>
<main class="main-content">
        <div class="page-header m-0 border-0">
            <h3>  <?php echo e(__('message.sales')); ?></h3>
            <nav aria-label="breadcrumb">
                <ol class="breadcrumb">
                    <li class="breadcrumb-item"><a href="<?php echo e(asset('dashboard')); ?>"><?php echo e(__('message.dashboard')); ?></a></li>
                    <li class="breadcrumb-item" aria-current="page"><a href="<?php echo e(asset('sales')); ?>"><?php echo e(__('message.sales')); ?></a></li>
                    <li class="breadcrumb-item active" aria-current="page"><?php echo e(__('message.add')); ?></li>
                </ol>
            </nav>
        </div>
    <div class="container invoice bg-white shadow-sm">
            
        <div class="row">
            <div class="col-6">
                <h2>Invoice</h2>
            </div>
            <div class="col-6 text-end">
                <h4>Invoice no : <?php echo e($invoice->invoice_no); ?></h4>
                <p>Date: September 3, 2024</p>
            </div>
        </div>

        <div class="row mb-4">
            <div class="col-6">
                <h5>From:</h5>
                <p>
                    <strong>Edukrypt Corporation Pvt. Ltd.</strong><br>
                    123 Software Street<br>
                    City, State, ZIP<br>
                    Phone: (555) 555-5555<br>
                    Email: info@yourcompany.com
                </p>
            </div>
            <div class="col-6 text-end">
                <h5>To:</h5>
                <p>
                    <strong>
                        <?php if(isset($sell_details->distributor_details)): ?>
                        <?php echo e($sell_details->distributor_details ? $sell_details->distributor_details->name : ''); ?></strong><br>
                    <?php echo e($sell_details->distributor_details ? $sell_details->distributor_details->address : ''); ?><br>
                    <?php echo e($sell_details->distributor_details ? $sell_details->distributor_details->city : ''); ?>,
                    <?php echo e($sell_details->distributor_details ? $sell_details->distributor_details->state : ''); ?>,
                    <?php echo e($sell_details->distributor_details ? $sell_details->distributor_details->pincode : ''); ?>

                    <br>
                    Phone: <?php echo e($sell_details->distributor_details ? $sell_details->distributor_details->mobile : ''); ?><br>
                    Email: <?php echo e($sell_details->distributor_details ? $sell_details->distributor_details->email : ''); ?>

                    <?php endif; ?>
                </p>
            </div>
        </div>

        <table class="table table-bordered table-invoice">
            <thead class="thead-light">
                <tr>
                    <th>Software Key</th>
                    <th>Description</th>
                    <th>Quantity</th>
                    <th>Unit Price</th>
                    <th>Total</th>
                </tr>
            </thead>
            <tbody>
                <?php 
                    $total = 0 ;
                    $cr_type = "";
                ?>

                <?php if(isset($sell_details->order)): ?>
                <?php $__currentLoopData = $sell_details->order; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <?php 
                        $total += $value->licence_details ? $value->licence_details->price : 0 ;
                        $cr_type = $value->licence_details ? $value->licence_details->currence : ₹;
                    ?>
                <tr>
               
                    <td><?php echo e($value->licence_details ? $value->licence_details->licence_key : ''); ?></td>
                    <td>Software Product Key</td>
                    <td>1</td>
                    <td>
                        <?php if(isset($value->licence_details)): ?>
                            <?php if($value->licence_details->currency == "rupee"): ?>
                                ₹ <?php echo e($value->licence_details->price); ?>

                            <?php else: ?>
                                $ <?php echo e($value->licence_details->price); ?>

                            <?php endif; ?>
                        <?php endif; ?>
                       
                    </td>
                    <td>
                        
                        <?php if(isset($value->licence_details)): ?>
                            <?php if($value->licence_details->currency == "rupee"): ?>
                                ₹ <?php echo e($value->licence_details->price); ?>

                            <?php else: ?>
                                $ <?php echo e($value->licence_details->price); ?>

                            <?php endif; ?>
                        <?php endif; ?>
                        
                    </td>
                    
                </tr>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                <?php endif; ?>
                
            </tbody>
            <tfoot>
                <tr>
                    <td colspan="4" class="text-end">Subtotal:</td>
                    <td> 
                        <?php if(isset($sell_details->order)): ?>
                       
                            <?php echo e($cr_type); ?> <?php echo e($total); ?>

                       
                        <?php endif; ?>
                    </td>
                </tr>
                <tr>
                    <?php if(isset($sell_details->distributor_details)): ?>
                    <td colspan="4" class="text-end">Tax GST (<?php echo e($sell_details->distributor_details->gst); ?>%):</td>

                    <?php 
                        $gst = ($total * $sell_details->distributor_details->gst)/100;
                    ?>
                    <td>₹ <?php echo e($gst); ?></td>
                    <?php endif; ?>
                </tr>
                <tr>
                    <td colspan="4" class="text-end total">Total:</td>
                    <td class="total"> 
                        <?php if(isset($sell_details->order)): ?>
                       
                            <?php echo e($cr_type); ?> <?php echo e($total+$gst); ?>

                       
                        <?php endif; ?>
                    </td>
                </tr>
            </tfoot>
        </table>

        <div class="row">
            <div class="col-12 text-end">
                <button class="btn btn-primary" onclick="window.print()">Print Invoice</button>
            </div>
        </div>
    </div>
</main>

<?php $__env->stopSection(); ?>

<?php echo $__env->make('layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH F:\xampp\htdocs\licence_panel\resources\views/sales/invoice.blade.php ENDPATH**/ ?>

Anon7 - 2021