Edit File: invoices.blade.php
<!doctype html> <html lang="ar"> <head> <!-- Required meta tags --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> <!-- Bootstrap CSS --> <link rel="stylesheet" href="{{asset('invoice/css/all.min.css')}}"> <!-- my CSS --> <link rel="stylesheet" href="{{asset('invoice/css/style.css')}}"> <!--<link rel="stylesheet" href="css/style-ltr.css">--> <title></title> <!-- title logo --> <link rel="icon" href="{{asset('invoice/imgs/logo.png')}}" type="image/x-icon" /> </head> <style> th div{ color : white; } </style> <body> <header> <div class="over-H"> <!--<div class="F-R f-b">--> {{-- <p>{!!$data['site_address'] !!}</p>--}} <!--</div>--> <p><i class="fas fa-map-marker-alt"></i> {{$data['site_name']}}</p> <!--<img src="{{URL::to('assets/uploads/settings/'.$data['logo'])}}" class="logo_bill F-L">--> </div> </header> <!-- Start body-content --> <div class="body-content"> <!--<div class="hr"></div>--> <div class="over-H"> <div class="F-R f-b"> <!--<p><i class="fas fa-map-marker-alt"></i> {{$data['site_name']}}</p>--> <img src="{{URL::to('assets/uploads/settings/'.$data['logo'])}}" class="logo_bill F-L"> {{-- <p>{!!$data['site_address'] !!}</p>--}} </div> </div> <div class="F-R f-b"> <aside>{{awtTrans('الرقم الضريي')}} :</aside> <p>{{$data['commerical_id']}}</p> </div> <h2 class="the_title" style="color:#5d6070">{{$data['site_name']}}</h2> <div class="over-H all_date"> <div class="F-R"> <div> <aside>{{awtTrans('تاريخ الاستحقاق')}} :</aside> <div>{{\Carbon\Carbon::parse($invoice->created_at)->format('d/m/Y')}}</div> </div> </div> <div class="F-L"> <div> <aside>{{awtTrans('تاريخ الفاتورة')}} :</aside> <div>{{\Carbon\Carbon::parse($invoice->created_at)->format('d/m/Y')}}</div> </div> </div> </div> <div class="over_outo"> <table> <thead> <tr> <th> <div>SEQ</div> <div>م</div> </th> <th> <div>SERVICE PROVIDER </div> <div> مقدم الخدمة</div> </th> <th> <div>DESCRIPTION</div> <div>الوصف</div> </th> <th> <div>UNITS PRICE</div> <div>سعر الوحدات</div> <th> <div>App AMOUNT</div> <div>عمولة التطبيق</div> </th> <th> <div>TAX RATE</div> <div>نسبة الضريبة</div> </th> <th> <div>TAX AMOUNT</div> <div>مبلغ الضريبة</div> </th> <th> <div>SUBTOTAL WITH VAT</div> <div>المجموع بالضريبة</div> </th> </tr> </thead> <tbody> <tr> <td>{{$invoice->citc_referenceCode??''}}</td> <td>{{$invoice->store?->getTranslation('name', lang())}}</td> <td>{{$invoice->description}}</td> <td>{{$invoice->price + $invoice->delivery_price}}</td> <td>{{$invoice->app_percentage}} SR</td> <td>{{$data['added_value']}}%</td> <td>{{($invoice->added_value)}}</td> <td>{{$invoice->total_price}} SR</td> </tr> </tbody> </table> </div> <div class="over_outo"> <table> <thead> <tr> <th> <div>Total(Excluding VAT)</div> <div>المبلغ الخاص بالعمولة التطبيق</div> </th> <th> <div>Total Vat</div> <div>مجموع ضريبة القيمة المضافة</div> </th> <th> <div>Total ِAmount Due</div> <div>إجمالي المبلغ المستحق</div> </th> </tr> </thead> <tbody> <tr> <td>{{($invoice->price+$invoice->delivery_price)* ($data['app_percentage']/100)}} SR</td> <td>{{(($invoice->price+$invoice->delivery_price)* ($data['app_percentage']/100)) + $invoice->added_value / 100}} SR</td> <td>{{$invoice->total_price}} SR</td> </tr> </tbody> </table> </div> <div> <table> <thead> <tr> <th> <div>{{\Carbon\Carbon::parse($invoice->created_at)->format('d/m/Y')}} {{awtTrans('دفع في يوم')}}</div> </th> <th> <div>{{awtTrans('المبلغ المستحق')}}</div> </th> </tr> </thead> <tbody> <tr> <td>{{$invoice->total_price}} {{awtTrans('ر.س')}}</td> <td>{{$invoice->total_price}} {{awtTrans('ر.س')}}</td> </tr> </tbody> </table> </div> <style> table tr th{ background-color: #2d7679 !important; } .footer-bill,header{ background-color: #2d7679 !important; } .qrCode{ width:120px; height: 120px; } </style> {{-- <div class="f-b text-center">{{awtTrans('برجاء استخدام هذا المرجع عند السداد')}} : </div>--}} {{--{{$data['reference_num']}}--}} <!--<div class="hr"></div>--> <br> <!-- <footer>--> <!-- <div class="text-center footer-bill">--> <!-- <div><span>{{awtTrans(' بيانات التواصل')}} : {{$invoice->citc_referenceCode??''}}</span> <a href="mailto:{{$data['site_email']}}">{{$data['site_email']}}</a>--> <!--{{-- <a href="{{$data['url']}}" target="_blank">{{$data['url']}}</a> --}}--> <!-- - <span>{{$data['site_phone']}}</span></div>--> <!-- </div>--> <!-- </footer>--> </html>
Back to File Manager