Barcode
{{ $item->invoice_number }}
@if($item->invoice_title =="") {{ (isset($incomplete)?'پیش':'') }} رسید ثبت سفارش @else {{ $item->invoice_title }} @endif
@if($item->auto_printdate == 1)
تاریخ : {{ substr(GetShamsiDate( \Carbon\Carbon::now() ) ,0,10) }}
@else @if(!isset($incomplete))
تاریخ : {{ $item->withdraw != null ? $item->withdraw : ( substr(GetShamsiDate(is_null($item->print_at) ? $item->order_at : $item->print_at) ,0,10) ) }}
@else
تاریخ : {{ substr(GetShamsiDate($item->updated_at) ,0,10) }}
@endif @endif
@if($item->request_legal == "1")
خریدار: {{ $item->company }} کد اقتصادی: {{ $item->company_eco_code }}
همراه: {{ $item->buyer_mobile }} کد/شناسه ملی: {{ $item->national_id }}
تلفن: {{ $item->company_phone }} کد پستی: @if($item->address_gnaf_id != null && $item->UserAddressGnaf?->gnaf_id != null) {{ $item->UserAddressGnaf->GnafData->postal_code }} @else {{ $item->company_zipcode }} @endif
آدرس: @if($item->address_gnaf_id != null && $item->UserAddressGnaf?->gnaf_id != null) {{ $item->UserAddressGnaf->GnafData->full_address }} @else {{ $item->company_province . "، " . $item->company_city . "، " . $item->company_address . "، پلاک: " . $item->address_pelak . "، واحد: " . $item->address_unit }} @endif
@else
خریدار: {{ $item->first_name . " " . $item->last_name }} کد اقتصادی: {{ $item->eco_code }}
همراه: {{ $item->buyer_mobile }} کد/شناسه ملی: {{ $item->pcode }}
تلفن: {{ $item->buyer_phone }} کد پستی: @if($item->address_gnaf_id != null && $item->UserAddressGnaf?->gnaf_id != null) {{ $item->UserAddressGnaf->GnafData->postal_code }} @else {{ $item->zipcode }} @endif
آدرس: @if($item->address_gnaf_id != null && $item->UserAddressGnaf?->gnaf_id != null) {{ $item->UserAddressGnaf->GnafData->full_address }} @else {{ $item->province . "، " . $item->city . "، " . $item->address . "، پلاک: " . $item->address_pelak . "، واحد: " . $item->address_unit }} @endif
@endif
@php $rowIndex = 0; @endphp @foreach($item->CartItems as $item2) @if($item->status == 7 || $item2->num_official > 0 || Auth::user()->can('admin-unofficial')) @php $rowIndex++; @endphp @if($item2->is_package == 0) @if($item->status == 7 || Auth::user()->can('admin-unofficial')) @else @endif @if( $item2->is_freesample == 1) @else @if($item->status == 7 || Auth::user()->can('admin-unofficial')) @else @endif @endif @else @foreach($item2->PackageItems as $packageItem) @endforeach @endif @endif @endforeach @if( $item->status == 7 || Auth::user()->can('admin-unofficial')) @else @endif @if( $item->status == 7 || Auth::user()->can('admin-unofficial')) @if($item->discount_bons != 0) @endif @endif @if( $item->status == 7 || Auth::user()->can('admin-unofficial')) @if($item->discount_accepted + $item->discount_admin != 0) @endif @endif @if(1==2) @endif @if( $item->status == 7 || Auth::user()->can('admin-unofficial')) @else @endif
ردیف کد شرح کالا تعداد بهای واحد (ریال) جمع کل (ریال)
{{ $rowIndex }} P{{ $item2->product_id }} {{ $item2->title2 !='' ? $item2->title2 : $item2->title }} @if($item->hidden_options == 0) {{ $item2->options != '' ? " ($item2->options) " : '' }} @endif @if($item->hidden_serial == 0)
{{ $item2->serial }} @endif
{{ $item2->num }}{{ $item2->num_official }}%{{ $item2->freesample_percent }} تخفیف {{ number_format(($item2->amount_num + $item2->options_amount_num) * 10 , 0, '', ',') }} {{ number_format( ($item2->amount + $item2->options_amount) * 10, 0, '', ',') }} {{ number_format(($item2->amount_num + $item2->options_amount_num) * 10 , 0, '', ',') }} {{ number_format((($item2->amount + $item2->options_amount) * $item2->num_official ) * 10 , 0, '', ',') }}
{{ $rowIndex + $packageItem->rowIndex }} P{{ $packageItem->product_id }} {{ getProductTitleWithIdsHash($packageItem->ids_hash) }} {{ $packageItem->num }} {{ number_format( $packageItem->amount * 10, 0, '', ',') }} {{ number_format(( $packageItem->amount * $packageItem->num) * 10 , 0, '', ',') }}
جمع کل{{ number_format( $item->sum_amount * 10 ,0, '', ',') }} {{ number_format($item->total_just_official_products * 10 ,0, '', ',') }}
دنت بن {{ number_format( ($item->discount_bons ) * 10 ,0, '', ',') }}
تخفیف {{ number_format( ($item->discount_accepted + $item->discount_admin ) * 10 ,0, '', ',') }}
مالیات {{number_format( $tax_sum * 10 ,0 , '', ',') }}
هزینه ارسال @if( $item->status == 7 || Auth::user()->can('admin-unofficial')) @if($item->shipping_amount== 0) رایگان {{ $item->packaging_cost != 0 ? "" : " + " . number_format( $item->packaging_cost * 10,0 , '', ',') }} @elseif($item->shipping_amount== -1) پس‌کرایه {{ $item->packaging_cost != 0 ? "" : " + " . number_format( $item->packaging_cost * 10,0 , '', ',') }} @else {{ number_format( ($item->shipping_amount + $item->packaging_cost) * 10,0 , '', ',') }} @endif @else 0 @endif
قابل پرداخت{{ number_format(($item->total_amount + $item->packaging_cost - ($item->discount_accepted + $item->discount_admin ) - ( $item->discount_amount != 0 ? 0 : $item->discount_bons) ) * 10 + ($item->shipping_amount < 10 ? 0 : $item->shipping_amount * 10) , 0, '', ',') }} {{ number_format($item->total_just_official_products * 10 ,0, '', ',') }}
نوع پرداخت آنلاین کارت به کارت غیر نقدی روش ارسال: {{ ($item->shipping_type==0 ? '-' : '') }} {{ ($item->shipping_type==1 ? 'باربری' : '') }} {{ ($item->shipping_type==2 ? 'پست' : '') }} {{ ($item->shipping_type==3 ? 'اکسپرس' : '') }} {{ ($item->shipping_type==4 ? 'تیپاکس' : '') }} {{ ($item->shipping_type==5 ? 'دنت اکسپرس' : '') }} {{ ($item->shipping_type==6 ? 'پست DTS' : '') }}
توضیحات
@if($item->invoice_details == "") کلیه کالاها شامل ضمانت اصل بودن کالا، ضمانت بهترین قیمت و ارسال اکسپرس میباشند.
کالای فوق دارای یک سال گارانتی معتبر از تاریخ فاکتور می باشد. خرابی در اثر استفاده نادرست، نوسان برق،‌ضربه شدید و شکستگی و خیس شدن دستگاه شامل گارانتی نخواهد بود.
لطفا نحوه استفاده از دستگاه را از روی دفترچه محصول با دقت مطالعه نمایید. @else {!! $item->invoice_details !!} @endif
@if(1==2)
تلفن: 0216661054
@endif