| Server IP : 139.59.63.204 / Your IP : 216.73.217.62 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ubuntu-s-1vcpu-1gb-blr1-01 6.8.0-110-generic #110-Ubuntu SMP PREEMPT_DYNAMIC Thu Mar 19 15:09:20 UTC 2026 x86_64 User : root ( 0) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/billing/storage/framework/views/ |
Upload File : |
<!doctype html>
<html lang="<?php echo e(str_replace('_', '-', app()->getLocale())); ?>">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- CSRF Token -->
<meta name="csrf-token" content="<?php echo e(csrf_token()); ?>">
<!--end::Global Stylesheets Bundle-->
<style>
body{ font-size: 13px !important;
font-weight: 400;
font-family: Poppins, Helvetica, "sans-serif";}
table{
border-collapse: collapse;
width: 100%;
}
</style>
</head>
<!--end::Head-->
<!--begin::Body-->
<body>
<!--begin::Wrapper-->
<div class="wrapper d-flex flex-column flex-row-fluid" id="kt_wrapper">
<!--begin::Content-->
<div class="content d-flex flex-column flex-column-fluid" id="kt_content">
<!--begin::Container-->
<div class="container-xxl" id="kt_content_container">
<!--begin::details View-->
<div class="card mb-5 mb-xl-10" id="kt_profile_details_view">
<!--begin::Card header-->
<!--begin::Card body-->
<div class="card-body p-9">
<div class="mb-0">
<!--begin::Head-->
<div style=" margin-bottom: 3.75rem !important; flex-wrap: wrap !important;display: flex !important;">
<!--begin::Logo-->
<?php
$path = @auth()->user()->logo;
$base64 =null;
if(!empty($path)){
$type = pathinfo($path, PATHINFO_EXTENSION);
$data = file_get_contents($path);
$base64 = 'data:image/' . $type . ';base64,' . base64_encode($data);
}
?>
<?php if(!empty(@auth()->user()->logo)): ?>
<img style="height: 50px !important;" src="<?php echo e($base64); ?>" />
<?php endif; ?>
<!--end::Logo-->
<!--begin::Actions-->
<!--end::Actions-->
</div>
<!--end::Head-->
<!--begin::Label-->
<div style="color: #3F4254 !important;font-weight: 600 !important;font-size: 1.35rem !important;margin-bottom: 2rem !important;">Invoice #<?php echo e($invoice->inv_id); ?></div>
<!--end::Label-->
<!--begin::Row-->
<div style="display: table;
clear: both;margin-bottom: 2.75rem !important;display: flex;
flex-wrap: wrap;">
<!--end::Col-->
<div style="float: left;
width: 50%;
padding: 15px;">
<!--end::Label-->
<div style="color: #7E8299 !important;font-weight: 500 !important;font-size: 0.95rem !important;margin-bottom: 0.25rem !important;">Issue Date:</div>
<!--end::Label-->
<!--end::Col-->
<div style="color: #3F4254 !important;font-weight: 600 !important; font-size: 1.075rem !important;">
<?php echo e($invoice->created_at->format('d M Y')); ?></div>
<!--end::Col-->
</div>
<!--end::Col-->
<div style="float: left;
width: 50%;
padding: 15px;">
<!--end::Label-->
<div style="margin-bottom: 0.25rem !important;"></div>
<!--end::Label-->
<!--end::Text-->
<div style="color: #3F4254 !important;font-weight: 600 !important; font-size: 1.075rem !important;"><?php echo e(auth()->user()->business); ?> </div>
<!--end::Text-->
<!--end::Description-->
<?php if(!empty(auth()->user()->address)): ?>
<div style="color: #7E8299 !important;font-weight: 500 !important;font-size: 0.95rem !important;margin-bottom: 0.25rem !important;"><?php echo e(auth()->user()->address); ?> <br />
<?php echo e(auth()->user()->city); ?>, <?php echo e(auth()->user()->state); ?>,
<?php echo e(auth()->user()->country); ?>, <?php echo e(auth()->user()->pin); ?>
</div>
<?php endif; ?>
<!--end::Description-->
</div>
<!--end::Col-->
</div>
<!--end::Row-->
<!--begin::Row-->
<div style="display: table;
clear: both;margin-bottom: 2.75rem !important;display: flex;
flex-wrap: wrap;">
<!--end::Col-->
<!--end::Col-->
<div style="float: left;
width: 50%;
padding: 15px;">
<!--end::Label-->
<div style="color: #7E8299 !important;font-weight: 500 !important;font-size: 0.95rem !important;margin-bottom: 0.25rem !important;">Billed To:</div>
<!--end::Label-->
<!--end::Text-->
<div style="color: #3F4254 !important;font-weight: 600 !important; font-size: 1.075rem !important;">
<?php echo e($invoice->customers->firstname . ' ' . $invoice->customers->lastname); ?></div>
<!--end::Text-->
<!--end::Description-->
<div style="color: #7E8299 !important;font-weight: 500 !important;font-size: 0.95rem !important;margin-bottom: 0.25rem !important;"><?php echo e($invoice->billing_address); ?><br />
<?php echo e($invoice->billing_city); ?>,<?php echo e($invoice->billing_state); ?>,<?php echo e($invoice->billing_country); ?>,<?php echo e($invoice->billing_pin); ?>
</div>
<!--end::Description-->
</div>
<!--end::Col-->
<!--end::Col-->
<div style="float: left;
width: 50%;
padding: 15px;">
<!--end::Label-->
<div style="color: #7E8299 !important;font-weight: 500 !important;font-size: 0.95rem !important;margin-bottom: 0.25rem !important;">Shipped To:</div>
<!--end::Label-->
<!--end::Text-->
<div style="color: #3F4254 !important;font-weight: 600 !important; font-size: 1.075rem !important;">
<?php echo e($invoice->customers->firstname . ' ' . $invoice->customers->lastname); ?></div>
<!--end::Text-->
<!--end::Description-->
<div style="color: #7E8299 !important;font-weight: 500 !important;font-size: 0.95rem !important;margin-bottom: 0.25rem !important;"><?php echo e($invoice->shipping_address); ?><br />
<?php echo e($invoice->shipping_city); ?>,<?php echo e($invoice->shipping_state); ?>,<?php echo e($invoice->shipping_country); ?>,<?php echo e($invoice->shipping_pin); ?>
</div>
<!--end::Description-->
</div>
<!--end::Col-->
</div>
<!--end::Row-->
<!--begin::Content-->
<div style="display: table;
clear: both;margin-bottom: 2.75rem !important;display: flex;
flex-wrap: wrap;">
<!--begin::Table-->
<div style=" border-bottom:1 px solid grey; margin-bottom: 2.75rem !important;">
<table style=" width: 100%;
margin-bottom: 1rem;
color: #181C32;
vertical-align: top;
border-color: #EFF2F5; ">
<thead style=" border-color: inherit;
border-style: solid;
border-width: 0;">
<tr style=" border-bottom: 1px solid #EFF2F5 !important; font-size: 1.075rem !important; font-weight: 600 !important; color: #B5B5C3 !important;">
<th style="min-width: 175px !important; padding-bottom: 0.5rem !important;">Item</th>
<th style="min-width: 70px !important; text-end padding-bottom: 0.5rem !important;">Price</th>
<th style="min-width: 80px !important; text-end padding-bottom: 0.5rem !important;">Qty</th>
<th style="min-width: 100px !important; text-end padding-bottom: 0.5rem !important;">Amount</th>
</tr>
</thead>
<tbody>
<?php $subtotal=0; $gst = auth()->user()->gst_percent; ?>
<?php $__empty_1 = true; $__currentLoopData = $invoice->lineItem; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
<?php
$subtotal = $item->price + $subtotal; ?>
<tr style=" font-weight: 600 !important; font-size: 1.15rem !important; text-align: right !important; color: #5E6278 !important;">
<td style="display: flex !important; align-items: center !important; padding-top: 1.5rem !important;">
<i
class="fa fa-genderless text-danger fs-2 me-2"></i><?php echo e($item->product->name); ?>
</td>
<td style="padding-top: 1.5rem !important;"><?php echo e($item->product->price); ?></td>
<td style="padding-top: 1.5rem !important;"><?php echo e($item->qty); ?></td>
<td style="padding-top: 1.5rem !important; text-dark fw-boldest"><?php echo e($item->price); ?></td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
<?php endif; ?>
</tbody>
</table>
</div>
<!--end::Table-->
<!--begin::Container-->
<div class="d-flex justify-content-end">
<!--begin::Section-->
<div class="mw-300px">
<!--begin::Item-->
<div class="d-flex flex-stack mb-3">
<!--begin::Accountname-->
<div class="fw-bold pe-10 text-gray-600 fs-7">Subtotal:</div>
<!--end::Accountname-->
<!--begin::Label-->
<div class="text-end fw-bolder fs-6 text-gray-800">Rs. <?php echo e($subtotal); ?>
</div>
<!--end::Label-->
</div>
<!--end::Item-->
<!--begin::Item-->
<div class="d-flex flex-stack mb-3">
<!--begin::Accountname-->
<div class="fw-bold pe-10 text-gray-600 fs-7">GST[<?php echo e($gst); ?>%] :
</div>
<!--end::Accountname-->
<!--begin::Label-->
<div class="text-end fw-bolder fs-6 text-gray-800">Rs.
<?php echo e(Helper::taxCal($gst, $subtotal)); ?></div>
<!--end::Label-->
</div>
<!--end::Item-->
<!--begin::Item-->
<div class="d-flex flex-stack mb-3">
<!--begin::Accountnumber-->
<div class="fw-bold pe-10 text-gray-600 fs-7">Subtotal + GST :</div>
<!--end::Accountnumber-->
<!--begin::Number-->
<div class="text-end fw-bolder fs-6 text-gray-800">Rs.
<?php echo e(!empty($gst) ? Helper::totalPrice($gst, $subtotal, 1) : $subtotal); ?></div>
<!--end::Number-->
</div>
<!--end::Item-->
<!--begin::Item-->
<div class="d-flex flex-stack mb-3">
<!--begin::Accountnumber-->
<div class="fw-bold pe-10 text-gray-600 fs-7">Total :</div>
<!--end::Accountnumber-->
<!--begin::Number-->
<div class="text-end fw-bolder fs-6 text-gray-800">Rs.
<?php echo e(!empty($gst) ? Helper::totalPrice($gst, $subtotal, 1) : $subtotal); ?></div>
<!--end::Number-->
</div>
<!--end::Item-->
<!--begin::Item-->
<!--end::Item-->
</div>
<!--end::Section-->
</div>
<!--end::Container-->
</div>
<!--end::Content-->
</div>
</div>
<!--end::Container-->
</div>
<!--end::Content-->
</div>
<!--end::Wrapper-->
</body>
</html>
<?php /**PATH /var/www/billing/resources/views/invoices/pdfinvoice1.blade.php ENDPATH**/ ?>