@if (get_setting () -> ph_print === '1') @elseif (get_setting () -> ph_print === '2') @endif
{{get_setting () -> ph_name}}
{{get_setting () -> ph_address}}
@lang ('print.telephone') {{get_setting () -> ph_telephone}}
@lang ('print.email') {{get_setting () -> ph_email}}
@lang ('print.fax') {{get_setting () -> ph_fax}}
@foreach ($ print as $ key => $ value) @if ($ key === 0) `
@lang ('print.invoiceno') {{$ value-> invoice_no}}
@lang ('print.invoicedate') {{$ value-> creation_at}}
@endif @endforeach@lang ('print.dname') @lang ('print.quantity') @lang ('print.price') @lang ('print.discount') @lang ('print.description') @lang ('print.barcode ') @foreach ($ print as $ pr) {{$ pr-> name}} {{$ pr-> amount}} {{$ pr-> price.get_currencySymbols ()}} {{$ pr->p_discount}}% @if (! empty ($ pr-> info)) {{$ pr-> info}} @else # @endif {{$ pr-> p_barcodeg}} @endforeach
@lang ('print.tprice') цена * $ pre-> количество) - ($ pre-> цена * ($ pre-> p_discount / 100));} echo $ a. get_currencySymbols ();?>
// открыть печать в случае успеха $ (function () {if ($ ('# print'). Length) {$ ('# print'). PrintThis (); setTimeout (function (){@if (Auth :: user () -> hasRole ('superadmin')) $ ('# print'). remove (); window.location = '{{route (' sales.index ')}}';@elseif (Auth :: user () -> hasRole ('admin')) $ ('# print'). remove (); window.location = '{{route (' home ')}}'; @endif}, 900);}});