Server : Apache System : Linux 145.162.205.92.host.secureserver.net 5.14.0-611.45.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Apr 1 05:56:53 EDT 2026 x86_64 User : tradze ( 1001) PHP Version : 8.1.34 Disable Function : NONE Directory : /home/tradze/www/storage-old/framework/views/ |
<?php $__env->startSection('title'); ?>
<?php echo e($invoice->number); ?>-<?php echo e($invoice->inv_date->format('d.m.Y')); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
<!--header-->
<table class="table" cellspacing="0" style="border:none; background: #000; color: #fff;">
<tr>
<td style="border:none!important;">
<?php if($account->logo_url): ?>
<img src="<?php echo e(@asset($account->logo_url)); ?>" height="50">
<?php endif; ?>
</td>
<td style="font-size: 25px; font-family: Open Sans, Arial, Helvetica, sans-serif; font-weight: 300; text-align: right; border:none!important;">
INVOICE
</td>
</tr>
</table>
<table class="table" cellspacing="0" style="border: 1px solid #3d4957 !important;">
<tr>
<td>
<?php if(@$is_paid && !$invoice->is_canceled): ?>
<img src="<?php echo e(asset('themes/frontend/assets/img/paid-stamp.png')); ?>" alt="" height="80">
<?php endif; ?>
</td>
<td align="right" class="bold">
<div>Invoice: <?php echo e(@$invoice->prefix); ?><?php echo e($invoice->number); ?></div>
<div>Date: <?php echo e($invoice->inv_date->format('m/d/Y')); ?></div>
<div>Due date: <?php echo e($invoice->inv_duedate->format('m/d/Y')); ?></div>
</td>
</tr>
</table>
<hr>
<!--header-->
<!--CLIENT & PROVIDER-->
<table class="table" cellspacing="0" style="margin-top: 20px;">
<tr>
<td style="border: 1px solid #3d4957 !important;" width="45%">
<div class="bold">
<div style="font-size: 23px; font-family: Open Sans, Arial, Helvetica, sans-serif; font-weight: 300;">
SUPPLIER
</div>
<hr/>
</div>
<div class="bold margin-top-10"><?php echo e($account->company); ?></div>
<?php if($account->addr_address): ?>
<div>
<?php echo e($account->addr_address); ?>
</div>
<?php endif; ?>
<?php if($account->addr_state): ?>
<div>
<?php echo e($account->addr_state); ?>
</div>
<?php endif; ?>
<?php if($account->addr_city): ?>
<div>
<?php echo e($account->addr_city); ?>
</div>
<?php endif; ?>
<?php if($account->addr_postcode): ?>
<div>
<?php echo e($account->addr_postcode); ?>
</div>
<?php endif; ?>
<?php if($account->phone): ?>
<div>
Bookings <?php echo e($account->phone); ?>
</div>
<?php endif; ?>
<?php if($account->email): ?>
<div>
Email: <?php echo e($account->email); ?>
</div>
<?php endif; ?>
<?php if($account->web_url): ?>
<div>
Web: <?php echo e($account->web_url); ?>
</div>
<?php endif; ?>
</td>
<td style="border:none!important;" width="10%"></td>
<td style="border: 1px solid #3d4957 !important;" width="45%">
<div class="bold">
<div style="font-size: 23px; font-family: Open Sans, Arial, Helvetica, sans-serif; font-weight: 300;">
CLIENT
</div>
<hr/>
</div>
<div class="bold margin-top-10"><?php echo e($client['name']); ?></div>
<?php if($client['address']): ?>
<div class="">
<?php echo e($client['address']); ?>
</div>
<?php endif; ?>
<?php if(isset($client['postcode'])): ?>
<div class="">
<?php echo e($client['postcode']); ?>
</div>
<?php endif; ?>
</td>
</tr>
</table>
<!--END CLIENT & PROVIDER-->
<div style="padding-top:30px;"> </div>
<!--products-->
<div style="position:relative">
<?php if($invoice->is_canceled || $invoice->is_refunded): ?>
<div style="position:absolute; top:-50px;">
<img src="<?php echo e(asset('themes/frontend/assets/img/cancelled-stamp.png')); ?>" alt="" style="max-width:700px;">
</div>
<?php endif; ?>
<table class="table table-bordered table-condensed table-striped" cellspacing="0">
<!-- <thead>
--> <tr>
<td align="center" class="bold">#</td>
<td align="left" class="bold">Description</td>
<td align="center" class="bold">Quantity</td>
<td align="center" class="bold">Unit Price</td>
<td align="center" class="bold">VAT</td>
<td align="center" class="bold">Total</td>
</tr>
<!-- </thead>
<tbody> -->
<?php $i=0;$sum=0;?>
<?php foreach($invoice->items as $item): ?>
<?php
$i++;
?>
<tr>
<td align="center"><?php echo e($i); ?></td>
<td><?php echo e($item->name); ?> <?php echo e($item->notes); ?></td>
<td align="center"><?php echo e(round($item->qty,2)); ?></td>
<td align="right">£<?php echo e(number_format($item->unit_price,2,',','.')); ?></td>
<td align="right">£<?php echo e(number_format($item->tax_value,2,',','.')); ?></td>
<td align="right">£<?php echo e(number_format($item->amount,2,',','.')); ?></td>
</tr>
<?php endforeach; ?>
<tr>
<td colspan="3" class="bold" align="right">
Subtotal:
</td>
<td colspan="3" align="right">
<span class="bold">
£<?php echo e(number_format($invoice->amount_net,2,',','.')); ?>
</span>
</td>
</tr>
<tr>
<td colspan="3" class="bold" align="right">
VAT:
</td>
<td colspan="3" align="right">
<span class="bold">
£<?php echo e(number_format($invoice->tax_value,2,',','.')); ?>
</span>
</td>
</tr>
<tr>
<td colspan="3" class="bold" align="right">
Total:
</td>
<td colspan="3" align="right">
<span class="bold">
£<?php echo e(number_format($invoice->amount,2,',','.')); ?>
</span>
</td>
</tr>
<!-- </tbody>
--> </table>
<?php /*bank*/ ?>
<div class="bold margin-top-10">
<?php if($account->bank_name): ?>
<div><?php echo e($account->bank_name); ?></div>
<?php endif; ?>
<?php if($account->company): ?>
<div>Account Name: <?php echo e($account->company); ?></div>
<?php endif; ?>
<?php if($account->bank_sortcode): ?>
<div>Sortcode: <?php echo e($account->bank_sortcode); ?></div>
<?php endif; ?>
<?php if($account->bank_account): ?>
<div>Account No: <?php echo e($account->bank_account); ?></div>
<?php endif; ?>
</div>
<?php /*end bank*/ ?>
<?php /*signature*/ ?>
<div style="margin-top:20px;" class="bold">
Signature:...............................................
</div>
<?php /*end signature*/ ?>
<?php /*reg number*/ ?>
<div class="bold" style="margin-top:20px;text-align: center;">
<?php echo e($account->company); ?> a U.K. registered company registration number <?php echo e($account->reg_number); ?>
</div>
<?php /*end reg number*/ ?>
</div>
<!--end products-->
<?php $__env->stopSection(); ?>
<?php echo $__env->make('invoices::layouts.export', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>