
<?php $__env->startSection('title'); ?> Client | BDIDEA <?php $__env->stopSection(); ?>
<?php $__env->startSection('lead'); ?> active <?php $__env->stopSection(); ?>
<?php $__env->startSection('lead.index'); ?> active <?php $__env->stopSection(); ?>
<?php $__env->startSection('styles'); ?>
<?php $__env->stopSection(); ?>


<?php $__env->startSection('main_content_section'); ?>

<div class="row min-vh-100">
    <!-- all content will be here. start -->

    <div class="row invoice p-0 m-0">
        <div class="col-md-9 p-0 m-0">
            <div class="shadow rounded m-3">

                <div class="d-md-flex justify-content-between custom-billing-invoice-header">
                    <div class="custom-invoice-logo-section">
                        <div class="d-flex align-items-center  custom-billing-invoice-logo">
                            <img src="<?php echo e(asset('backend')); ?>/billing_invoice_logo.png" alt="logo">
                        </div>
                    </div>
                    <div class="custom-issue-due-date-section">

                        <div class="d-flex align-items-center gap-2">
                            <div class="d-flex flex-column justify-content-end custom-issue-due-date-text-area gap-2">
                                <p class="">Invoice Number: </p>
                                <p class="">Invoice Date: </p>
                                <p class="">Invoice Generate: </p>
                            </div>

                            <div class="d-flex flex-column gap-2 custom-billing-invoice-header-right">
                                <input type="text" name="invoice_id"
                                    class="form-control custom-cursor-pointer custom-readonly-bg-color"
                                    value="#<?php echo e($singleBillingData->id); ?>" readonly>
                                <input type="text"
                                    class=" form-control custom-readonly-bg-color flatpickr-basic custom-date-picker"
                                    name="date_issue" id="date_issue" placeholder="DD-MM-YYYY"
                                    value="<?php echo e($singleBillingData->billing_date); ?>" readonly>
                                <input type="text"
                                    class="form-control custom-readonly-bg-color flatpickr-basic custom-date-picker"
                                    value="<?php echo e(Str::title(Auth::user()->name)); ?>" readonly>
                            </div>
                        </div>

                    </div>
                </div>

                <hr>

                <div class="text-center">
                    <p class="mb-0">Contact: +8801400 403 208, +8801400 403 209, +8801400 403 210</p>
                    <p class="mb-0">E-Mail: tiayra.aesthetic@gmail.com.</p>
                </div>

                <hr>
                <div class="row px-4">
                    <div class="col-12">
                        <table class="table table-bordered py-3">
                            <!-- <hr class="mb-1"> -->
                            <thead>
                                <tr>
                                    <th scope="col"> Service </th>
                                    <th scope="col"> Price </th>
                                    <th scope="col" class="text-center"> QTY </th>
                                    <th scope="col" class="text-center"> Discount </th>
                                    <th scope="col" class="text-center"> Total Price </th>
                                </tr>
                            </thead>
                            <tbody>
                                <?php $__currentLoopData = $serviceBPP; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $singleBPP): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <?php if(isset($singleBPP) && $singleBPP != null): ?>
                                <tr>
                                    <td class="text-no-wrap"><?php echo e($singleBPP->serviceData->service_name); ?></td>
                                    <td class="text-no-wrap"><?php echo e($singleBPP->product_price); ?></td>
                                    <td class="text-center"><?php echo e($singleBPP->product_qty); ?></td>
                                    <td class="text-center"><?php echo e($singleBPP->product_discount); ?></td>
                                    <td class="text-center"><?php echo e($singleBPP->grand_total_price); ?></td>
                                </tr>
                                <?php endif; ?>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </tbody>

                        </table>
                    </div>
                </div>

                <hr>

                <div class="custom-invoice-common-padding pb-5">
                    <div class="row">
                        <div class="col-md-6">
                            <h5 class="mb-2"><strong>Invoice To:</strong></h5>
                            <p class="mb-1"><b>Name: </b> <?php echo e($singleBillingData->clientData->client_name); ?></p>
                            <p class="mb-1"><b>Address: </b> <?php echo e($singleBillingData->clientData->client_address); ?></p>
                            <p class="mb-1"><b>Mobile: </b> <?php echo e($singleBillingData->clientData->client_mobile); ?></p>
                            <p class="mb-1"><b>Email: </b> <?php echo e($singleBillingData->clientData->client_email); ?></p>
                        </div>
                        <div class="col-md-6">
                            <div class="w-100 d-flex gap-2">
                                <div class="text-end w-25 custom-footer-right-text-block">
                                    <p>Subtotal:</p>
                                    <p>Discount:</p>
                                    <p>Service Qty:</p>
                                    <p>Total:</p>
                                </div>
                                <div class="d-flex flex-column gap-2 w-75">
                                    <input type="text" name="sub_total_price" id="sub_total_price"
                                        class="form-control custom-cursor-pointer custom-readonly-bg-color"
                                        value="<?php echo e($subTotalPrice > 0 ? $subTotalPrice : 0.00); ?>" readonly>
                                    <input type="text" name="sub_total_discount" id="sub_total_discount"
                                        class="form-control custom-cursor-pointer custom-readonly-bg-color"
                                        value="<?php echo e($subTotalProductDiscount > 0 ? $subTotalProductDiscount : 0.00); ?>"
                                        readonly>
                                    <input type="text" name="sub_total_quantity" id="sub_total_quantity"
                                        class="form-control custom-cursor-pointer custom-readonly-bg-color"
                                        value="<?php echo e($subTotalProductQty > 0 ? $subTotalProductQty : 0); ?>" readonly>
                                    <input type="text" name="grand_total_price" id="grand_total_price"
                                        class="form-control custom-cursor-pointer custom-readonly-bg-color"
                                        value="<?php echo e($grandTotalProductPrice > 0 ? $grandTotalProductPrice : 0.00); ?>"
                                        readonly>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

            </div>
        </div>
        <div class="col-md-3 p-0 m-0">
            <div class="row p-3">
                <div class="col-12 mb-4">
                    <div class="">
                        <div class="card card-stats">
                            <div class="card-header custom-payment-section-header">
                                <div class="icon icon-warning d-flex">
                                    <span class="material-symbols-outlined">equalizer</span>
                                    <p class="category custom-card-header-title custom-payment-section-heading-title">
                                        <strong>Invoice Options</strong>
                                    </p>
                                </div>
                            </div>
                            <div class="card-footer p-0 dashboard-card-footer">
                                <div class="stats">
                                    <div class="row">
                                        <button type="button" class="text-white btn">
                                            <div class="col-12 invoice-print-button text-center py-2">
                                                <i class="material-symbols-outlined custom-bill-pay-icon">print</i>Print
                                            </div>
                                        </button>

                                        <button type="button" class="text-white btn">
                                            <div class="col-12 invoice-download-button text-center py-2">
                                                <i
                                                    class="material-symbols-outlined custom-bill-pay-icon">download</i>Download
                                            </div>
                                        </button>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

        </div>
    </div>
    <!-- all content will be here. end -->
</div>

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

<?php $__env->startSection('scripts'); ?>
<?php echo $__env->make('admin.billingInvoice.partial.script', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<script>
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH E:\Project\Personal-Project\Office-Project\update\skin-care\resources\views/admin/billingInvoice/dueInvoice/dueBillPaymentInvoice.blade.php ENDPATH**/ ?>