Path : /var/www/html/mini-moneyexchange/resources/views/moneyExchange/ |
B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H |
Current File : /var/www/html/mini-moneyexchange/resources/views/moneyExchange/invoice.blade.php |
<!DOCTYPE html> <html> <head> <style type="text/css"> @page { size: auto; margin: 0mm; } #invoice-POS{ /*box-shadow: 0 0 1in -0.25in rgba(0, 0, 0, 0.5);*/ padding:3px 10px; margin: 0 auto; width: 66mm; /*background: #FFF;*/ } .title{ text-align: center; } table{ width:100%; font-size: 12px; } *{ /*font-family: 'Battambang', 'Roboto', 'Sarabun' !important;*/ margin-bottom:0px; padding-bottom:0px; margin-top:0px; padding-top:0px; } </style> </head> <body> <div id="invoice-POS"> <!-- <div style="text-align: center;"> <img src="{{asset($logo)}}" style="width:100px;margin:0 auto"> </div> --> <h5 class="title" style="font-size: 20px;margin-bottom:0px;">{{$shop_name}}</h5> <h5 class="title" style="font-size: 15px;margin-bottom:0px;text-decoration: underline;">{{__('message.exchange invoice')}}</h5> <table style="border-bottom: 0.6px solid #000;"> <tr> <td colspan="3">{{__('message.date')}}: {{ $transaction->created_at->format('d/m/Y H:i s') }}</td> </tr> <tr> <td colspan="3">{{__('message.phone')}}: {{$phone}}</td> </tr> <tr> <td colspan="2">{{__('message.cashier')}}: {{$transaction->user->name??''}}</td> <td style="text-align: right;">{{__('message.customer')}}: {{$transaction->customer_level==1?__('message.general'):__('message.special')}} </td> </tr> </table> <table style="border-bottom: 0.6px solid #000;"> <?php $fromCurrency = $transaction->moneyExchangeList->exchangeFromCurrency; $toCurrency = $transaction->moneyExchangeList->exchangeToCurrency; ?> <tr> <td style="font-weight: bold">{{number_format($transaction->amount,$fromCurrency->decimal_precision) }} <sup style="font-size: 7px;"> {{$fromCurrency->name??''}} </sup> </td> <td style="font-weight: bold"> {{$transaction->moneyExchangeList->calculation=='x'?'x':'/'}} {{number_format($transaction->exchange_rate,2) }}</td> <td style="font-weight: bold">{{number_format($transaction->amount_after_exchange,$toCurrency->decimal_precision) }} <sup style="font-size: 7px;"> {{$toCurrency->name??''}} </sup></td> </tr> </table> <table> <tr> <td>{{__('message.received money')}}:</td> <td colspan="2" style="font-weight: bold">{{number_format($transaction->received_amount,$fromCurrency->decimal_precision) }} <sup style="font-size: 7px;"> {{$fromCurrency->name??''}} </sup> </td> </tr> <tr> <td>{{__('message.remain')}}:</td> <td colspan="2" style="font-weight: bold">{{number_format($transaction->remain,$fromCurrency->decimal_precision) }} <sup style="font-size: 7px;"> {{$fromCurrency->name??''}} </sup></td> </tr> <tr> <td colspan="3" style="text-align: center;font-size: 10px">{{__('message.please check carefully before you leave')}}!!</td> </tr> <tr> <td colspan="3" style="text-align: center;font-size: 10px;">** {{__('message.thank you')}} **</td> </tr> </table> </div> <script src="http://localhost:8001/assets/libs/jquery/dist/jquery.min.js"></script> <script> window.print(); // window.close(); window.onafterprint = window.close; </script> </body> </html>