@extends('admin.layout.index')
@section('title', '#' . $order->uniq)
@section('content')
Ad Soyad: {{ $order->shipping_info->address }} {{ db('region')->where('id', $order->shipping_info->city)->get()->first()->name }}/{{ db('region')->where('id', $order->shipping_info->country)->get()->first()->name }}
E-posta Adresi:
Telefon:
Kargo:
Ünvan: {{ $order->contact_info->title ?? "" }}
Adres: {{ $order->contact_info->bill_address ?? "" }}
Vergi Numarası: {{ $order->contact_info->tax_number ?? "" }}
Vergi Dairesi: {{ $order->contact_info->tax_office ?? "" }}
Teslimat
{{ $order->shipping_info->name }} {{ $order->shipping_info->surname }}
{{ $order->shipping_info->email }}
{{ $order->shipping_info->phone }}
{{ $order->cargo->name }}
Faturalandırma
@foreach($products as $product)
@if($product->type == 'variant')
Ürün
Miktar
Stok Kodu
Barkod
Tutar
@else
x{{ $product->total }}
{{ $product->varaint_value_detail['stock_code'] }}
{{ $product->varaint_value_detail['stock_barcode'] }}
{{ CURRENCY . $product->total_fee }}
@endif
@endforeach
x{{ $product->total }}
{{ $product->stock_code }}
{{ $product->stock_barcode }}
{{ CURRENCY . $product->total_fee }}
Ara Toplam:
{{ CURRENCY . $order->fees->tax }}
@isset($order->fees->sale)
@if($order->fees->sale != "0,00")
Vergi (%{{ TAX }}):
{{ CURRENCY . $order->fees->total }}
Ara Toplam (Vergi Dahil):
{{ CURRENCY . $order->fees->general_total }}
@endif
@endisset
@isset($order->fees->coupon)
İndirim Tutarı:
{{ CURRENCY . $order->fees->sale }}
@endisset
Kupon ({{ $order->fees->coupon->code }}):
{{ $order->fees->coupon->sale }}{{ $order->fees->coupon->type == "0" ? "%" : CURRENCY }}
Kargo:
{{ CURRENCY . num_format($order->cargo_feature['fee']) }}
Genel Toplam:
{{ CURRENCY . $order->fees->total_sale }}