Файловый менеджер - Редактировать - /home/clickysoft/public_html/jmapi5.clickysoft.net/resources/views/partials/po_attachment.blade.php
Назад
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" /> <meta http-equiv="X-UA-Compatible" content="ie=edge"/> <title>J&M Trophies: PO Attachment</title> </head> <body> <style> *[contenteditable] { border-radius: 0.25em; min-width: 1em; outline: 0; } *[contenteditable] { cursor: pointer; } *[contenteditable]:hover, *[contenteditable]:focus, td:hover *[contenteditable], td:focus *[contenteditable], img.hover { background: #def; box-shadow: 0 0 1em 0.5em #def; } span[contenteditable] { display: inline-block; } /* heading */ h1 { font: bold 100% sans-serif; letter-spacing: 0.5em; text-align: center; text-transform: uppercase; } /* table */ table { font-size: 75%; table-layout: fixed; width: 100%; } table { border-collapse: separate; border-spacing: 2px; } th, td { border-width: 1px; padding: 0.5em; position: relative; text-align: left; } th, td { border-radius: 0.25em; border-style: solid; } th { background: #eee; border-color: #bbb; } td { border-color: #ddd; } /* header */ header { margin: 0 0 3em; } header:after { clear: both; content: ""; display: table; } header h1 { background: #117283; border-radius: 0.25em; color: #fff; margin: 0 0 1em; padding: 0.5em 0; } header address { float: left; font-size: 75%; font-style: normal; line-height: 1.25; margin: 0 1em 1em 0; } header address p { margin: 0 0 0.25em; } header span, header img { display: block; float: right; } header span { margin: 0 0 1em 1em; max-height: 25%; max-width: 60%; position: relative; } header img { max-height: 100%; max-width: 100%; } header input { cursor: pointer; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; height: 100%; left: 0; opacity: 0; position: absolute; top: 0; width: 100%; } /* article */ article, article address, table.meta, table.inventory { margin: 0 0 3em; } article:after { clear: both; content: ""; display: table; } article h1 { /* clip: rect(0 0 0 0); position: absolute; */ margin: 0; } article address { float: left; font-size: 125%; font-weight: bold; } /* table meta & balance */ table.meta, table.balance { float: right; width: 36%; } table.meta:after, table.balance:after { clear: both; content: ""; display: table; } /* table meta */ table.meta th { width: 40%; } table.meta td { width: 60%; } /* table items */ table.inventory { clear: both; width: 100%; } table.inventory th { font-weight: bold; text-align: center; } table.inventory td:nth-child(1) { width: 26%; } table.inventory td:nth-child(2) { width: 26%; } table.inventory td:nth-child(3) { text-align: right; width: 12%; } table.inventory td:nth-child(4) { text-align: right; width: 12%; } table.inventory td:nth-child(5) { text-align: right; width: 12%; } table.inventory td:nth-child(6) { text-align: right; width: 12%; } /* table balance */ table.balance th, table.balance td { width: 50%; } table.balance td { text-align: right; } /* aside */ aside h1 { border: none; border-width: 0 0 1px; margin: 0 0 1em; } aside h1 { border-color: #999; border-bottom-style: solid; } .cut { text-decoration: line-through; } </style> <br/> <div class="row"> <div class="col-md-12"> <div class="panel panel-default"> <div class="panel-body"> <header> <h1>Purchase Order</h1> <span> <img alt="{{config('app.name')}}" src="{{asset('images/jm-logo.svg')}}"/> </span> </header> <article> <div class="table-container" style="display: table; width: 100%"> <div class="table-column" style=" display: table-cell; vertical-align: top;"> <!-- Content for the first column --> <table class=""> <thead> <tr> <th style="width: 100%"> <span>Order Information</span> </th> </tr> </thead> <tbody> <tr> <td> <span> Order Number: {{$data['p_order']->order_number}} <br/>Payment Terms : {{$data['p_order']->payment_terms}} <br/>Reference : {{$data['p_order']->reference ?? 'N/A'}} <br/>Account Number : {{$data['account_number'] ?? 'N/A'}} </span> </td> </tr> </tbody> </table> </div> <div class="table-column" style="display: table-cell; vertical-align: top;"> <!-- Content for the first column --> <table class=""> <thead> <tr> <th style="width: 100%"> <span>Billing / Shipping Details</span> </th> </tr> </thead> <tbody> <tr> <td> <span> Shipping Address: {{$data['p_order']->shipping_address}} <br/>Billing Address : {{$data['p_order']->billing_address}} </span> </td> </tr> </tbody> </table> </div> </div> <div class="table-container" style="display: table; width: 100%"> <div class="table-column" style="display: table-cell; vertical-align: top;"> <!-- Content for the second column --> <table class=""> <thead> <tr> <th style="width: 100%"> <span>Special Notes</span> </th> </tr> </thead> <tbody> <tr> @if(strlen($data['p_order']->special_notes) > 0) <td> <span> {{$data['p_order']->special_notes}} </span> </td> @else <td> <span> N/A </span> </td> @endif </tr> </tbody> </table> </div> </div> <table class="inventory"> <thead> <tr> <th><span>Product Number</span></th> <th><span>Quantity</span></th> </tr> </thead> <tbody> @if(isset($data['p_order_products'])) @foreach($data['p_order_products'] as $product) <tr> <td><span>{{$product['product_number']}}</span></td> <td><span>{{$product['quantity']}}</span></td> </tr> @endforeach @endif @if(isset($data['os_products'])) @foreach($data['os_products'] as $product) <tr> <td><span>{{$product['product_number']}}</span></td> <td><span>{{$product['quantity']}}</span></td> </tr> @endforeach @endif </tbody> </table> <table class="balance"> <tr> <th><span>Total Quantity</span></th> <td> <span>{{ $data['p_order']->total_quantity }}</span> </td> </tr> <tr> <th><span>Sub Total</span></th> <td> <span data-prefix>$</span><span>{{number_format($data['p_order']->total_price, 2) }}</span> </td> </tr> </table> </article> </div> </div> </div> </div> </body> </html>
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка