@if(get_setting()->ph_print === '1') @elseif(get_setting()->ph_print === '2') @endif
@lang('print.telephone')
@lang('print.email')
@lang('print.fax')
@foreach($print as $key => $value) @if($key === 0)`@lang('print.invoiceno')
@lang('print.invoicedate')
@endif @endforeach @lang('print.dname') @lang('print.quantity') @lang('print.price') @lang('print.discount') @lang('print.description') @lang('print.barcode') @foreach($print as $pr) % @if(!empty($pr->info)) @else # @endif @endforeach@lang('print.tprice') price * $pre->quantity) - ($pre->price * ($pre->p_discount / 100)); } echo $a . get_currencySymbols(); ?>
// open print if success $(function () { if ($('#print').length) { $('#print').printThis(); setTimeout(function () { @if(Auth::user()->hasRole('superadmin')) $('#print').remove(); window.location = ''; @elseif(Auth::user()->hasRole('admin')) $('#print').remove(); window.location = ''; @endif }, 900); } });
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire