/home/awneajlw/.trash/storage.2/framework/views/b94de94ae9e21f6cd0fa5c359e69d263.php
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<meta charset="UTF-8">
<head>
<title>Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<?php if($sale->direction == 'horizontal'): ?>
<style>
.page {
width: 1123px;
height: 794px;
margin: 0 auto;
background: white;
position: relative;
}
</style>
<?php else: ?>
<style>
.page {
width: 794px;
height: 1123px;
margin: 0 auto;
background: white;
position: relative;
}
</style>
<?php endif; ?>
<style>
/* Global Styling */
* {
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
/* font-family: 'Lato'; Uncomment to use Lato fonts */
letter-spacing: 0.8px;
margin: 0;
padding: 0;
font-family: 'DejaVu Sans', sans-serif; /* Ensures compatibility for PDFs */
}
p {
margin: 0;
padding: 0;
}
/* Font Size Classes */
.ft10 { font-size: 10px; color: #000000; }
.ft11 { font-size: 11px; color: #000000; }
.ft12 { font-size: 12px; color: #000000; }
.ft13 { font-size: 13px; color: #000000; }
.ft14 { font-size: 14px; color: #000000; }
.ft15 { font-size: 15px; color: #000000; }
.ft25 { font-size: 23px; color: #000000; }
/* Table Styling */
table {
border-collapse: collapse;
width: 100%;
}
th, td {
padding: 5px;
text-align: left;
border: 1px solid #ddd;
}
th {
color: #3496AF;
}
/* Uncomment if using Arabic content */
/*
@font-face {
font-family: "Amiri", serif;
font-weight: 400;
font-style: normal;
}
.arabic-text {
font-family: "Amiri", serif;
font-weight: 400;
font-style: normal;
}
*/
</style>
</head>
<body bgcolor="white" vlink="blue" link="blue">
<div class="page">
<h2 style="color: gray; position: absolute; top:20px;left:20px;"><?php echo e(@$userDetail->brand_name); ?></h2>
<h4 style="color: gray; position: absolute; top:60px;left:20px;"><?php echo e(@$userDetail->brand_detail); ?></h4>
<div style="position: absolute; top:10px;left:43%; height:100px; " >
<img src="<?php echo e(asset( @$userDetail->brand_logo )); ?>" alt="Not Found" height="100%" >
</div>
<h3 style="color: gray; position: absolute; top:30px;right:20px;"><?php echo e(@$userDetail->brand_name); ?></h3>
<p class="ft13" style=" position: absolute; top:70px;right:20px;"><?php echo e(@$userDetail->address); ?></p>
<p class="ft13" style=" position: absolute; top:100px;right:20px;"> <?php echo e(@$userDetail->country); ?></p>
<div style="position: absolute; top: 145px; left: 0px;right: 0; border-bottom: .5px solid rgb(178, 178, 178);">
<!-- <hr> -->
</div>
<h4 style="color: gray; position: absolute; top:122px;left:48%;"><?php echo e(@$sale->id . @$sale->branch_id); ?></h4>
<?php if($sale->language == 'arabic'): ?>
<h4 style="color: gray; position: absolute; top:145px;left:45%;"> فاتورة نقدية</h4>
<?php else: ?>
<h4 style="color: gray; position: absolute; top:145px;left:45%;"> CASH INVOICE</h4>
<?php endif; ?>
<div style="position: absolute; top:170px;left:40px; width:90px">
<?php if($sale->qr_ksa): ?>
<img src="<?php echo e(asset($sale->qr_ksa)); ?>" alt="KSA E-Invoice QR Code" width="100%">
<?php else: ?>
<img src="<?php echo e(asset('@$sale->qr_ksa')); ?>" alt="Not Found" width="100%">
<?php endif; ?>
</div>
<?php if($sale->language == 'arabic'): ?>
<p class="ft13 arabic-text" style=" position: absolute; top:230px;left:150px;"><?php echo e(@$sale->created_at); ?> :تاريخ</p>
<?php else: ?>
<p class="ft13 arabic-text" style=" position: absolute; top:230px;left:150px;">Date: <?php echo e(@$sale->created_at); ?> </p>
<?php endif; ?>
<?php if($sale->language == 'arabic'): ?>
<p class="ft13 arabic-text" style=" position: absolute; top:255px;left:150px;"><?php echo e(@$sale->user->name); ?>:البانع</p>
<?php else: ?>
<p class="ft13 arabic-text" style=" position: absolute; top:255px;left:150px;">The seller: <?php echo e(@$sale->user->name); ?></p>
<?php endif; ?>
<p class="ft13" style=" position: absolute; top:175px;right:20px;"><?php echo e(@$userDetail->company_ltd); ?></p>
<?php if($sale->language == 'arabic'): ?>
<p class="ft13" style=" position: absolute; top:190px;right:20px;">VAT Number: <?php echo e(@$sale->vat_no); ?></p>
<?php else: ?>
<p class="ft13" style=" position: absolute; top:190px;right:20px;"><?php echo e(@$sale->vat_no); ?>:رقم ضريبة القيمة المضافة</p>
<?php endif; ?>
<?php if($sale->language == 'arabic'): ?>
<p class="ft13 arabic-text" style=" position: absolute; top:230px;right:20px;"> <?php echo e(@$sale->buyer_name); ?> :اسـم العميل</p>
<?php else: ?>
<p class="ft13 arabic-text" style=" position: absolute; top:230px;right:20px;"> Customer name: <?php echo e(@$sale->buyer_name); ?></p>
<?php endif; ?>
<?php if($sale->language == 'arabic'): ?>
<p class="ft13 arabic-text" style=" position: absolute; top:255px;right:20px;"> <?php echo e(@$sale->id . @$sale->branch_id); ?>:رقم العميل</p>
<?php else: ?>
<p class="ft13 arabic-text" style=" position: absolute; top:255px;right:20px;"> Customer number: <?php echo e(@$sale->id . @$sale->branch_id); ?></p>
<?php endif; ?>
<?php if($sale->language == 'arabic'): ?>
<p class="ft25" style="position: absolute; top:300px;left:40px">
مشروع الفاتورة
</p>
<?php else: ?>
<p class="ft25" style="position: absolute; top:300px;left:40px">
Draft Invoice
</p>
<?php endif; ?>
<p class="ft25" style="position: absolute; top:300px;left:40%">
INV/2024/<?php echo e(@$sale->id); ?>
</p>
<?php if($sale->language == 'arabic'): ?>
<p class="ft25" style="position: absolute; top:300px;right: 20px;">
فاتورة مسودة
</p>
<?php else: ?>
<p class="ft25" style="position: absolute; top:300px;right: 20px;">
Draft invoice
</p>
<?php endif; ?>
<table class="ft13" style="position: absolute; top:335px;right: 30px; left: 30px; border: 2px solid black; width: 94%;" border="2px solid black">
<tr>
<th>
<?php if($sale->language == 'arabic'): ?>
السعر الاجمالي
<?php else: ?>
TOTAL PRICE
<?php endif; ?>
</th>
<th>
<?php if($sale->language == 'arabic'): ?>
اسم
<?php else: ?>
Name
<?php endif; ?>
</th>
<th>
<?php if($sale->language == 'arabic'): ?>
قيمة الضريبة
<?php else: ?>
VAT AMOUNT
<?php endif; ?>
</th>
<th>
<?php if($sale->language == 'arabic'): ?>
العدد
<?php else: ?>
UNIT PRICE
<?php endif; ?>
</th>
<th>
<?php if($sale->language == 'arabic'): ?>
ؤصف الصنف
<?php else: ?>
QUANTITY
<?php endif; ?>
</th>
<th>
<?php if($sale->language == 'arabic'): ?>
رقم الصنف
<?php else: ?>
DESCRIPTION
<?php endif; ?>
</th>
</tr>
<?php $__currentLoopData = $sale->saleItems; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<td>
<?php echo e(@$item->price); ?>
</td>
<td>
<?php echo e(@$item->inventory->name); ?>
</td>
<td>
<?php echo e($item->vat); ?>
</td>
<td>
<?php echo e(@$item->inventory->price); ?>
</td>
<td>
<?php echo e(@$item->quantity_sold); ?>
</td>
<td>
<?php echo e(@$item->inventory->description); ?>
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</table>
<table class="ft13" style="position: absolute; bottom:180px;left: 30px; width:300px; border: 2px solid black; " border="2px solid black">
<tr>
<td>
<?php echo e(@$sale->price); ?>
</td>
<th>
<?php if($sale->language == 'arabic'): ?>
الإجمالي الفرعي
<?php else: ?>
Subtotal
<?php endif; ?>
</th>
</tr>
<tr>
<td>
<?php echo e(@$sale->total_price); ?>
</td>
<td>
<?php if($sale->language == 'arabic'): ?>
المجموع
<?php else: ?>
Total
<?php endif; ?>
</td>
</tr>
</table>
<?php if($sale->language == 'arabic'): ?>
<p class="ft12" style="position: absolute; bottom: 105px; right: 20px;">
رقم إشارة الدفعة: <?php echo e(@$userDetail->payment_reference); ?> </p>
<?php else: ?>
<p class="ft12" style="position: absolute; bottom: 105px; right: 20px;">
Payment Reference : <?php echo e(@$userDetail->payment_reference); ?>INV
</p>
<?php endif; ?>
<div style="position: absolute; bottom: 100px; left: 0px;right: 0; border-bottom: 2px solid rgb(178, 178, 178);">
<!-- <hr> -->
</div>
<p class="ft15" style="position: absolute; bottom:60px;right: 34%;">
<?php echo e(@$userDetail->footer_no_email); ?>
</p>
<?php if($sale->language == 'arabic'): ?>
<p class="ft15" style="position: absolute; bottom:30px;right: 25%;">
<?php echo e(@$userDetail->footer_iban); ?>رقم الحساب المصرفي الدولي لبنك الرياض:
</p>
<?php else: ?>
<p class="ft15" style="position: absolute; bottom:30px;right: 25%;">
Riyadh Bank IBAN: <?php echo e(@$userDetail->footer_iban); ?>
</p>
<?php endif; ?>
</div>
</body>
</html>
<?php /**PATH C:\xampp\htdocs\safeEye\resources\views/admin/subAdmin/show.blade.php ENDPATH**/ ?>