Resell #{{ $transaction->invoice }}

@if ($user_list_allowed[0] != '0')
@if (in_array(auth()->user()->username, $user_list_allowed)) @endif
@endif

@if ($transaction->is_jaws) Created By : JAWS TRX @else Created By : {{ $transaction->createdByAE ? $transaction->createdByAE->name : '-' }} @endif [{{ $transaction->created_ae_at ? \Carbon\Carbon::parse($transaction->created_ae_at)->format('d M Y H:i') : '-' }}]    |     Approved QC By : @if ($transaction->store->form_type->id == '1' || $transaction->store->form_type->id == '5') {{ $transaction->approvedQAbylakuemas ? $transaction->approvedQAbylakuemas->name : '-' }} @else {{ $transaction->approvedQAby ? $transaction->approvedQAby->name : '-' }} @endif [{{ $transaction->approved_qa_at ? \Carbon\Carbon::parse($transaction->approved_qa_at)->format('d M Y H:i') : '-' }}]    |     Disbursed By : {{ $transaction->approvedDisbursedBy ? $transaction->approvedDisbursedBy->name : '-' }} [{{ $transaction->approved_at ? \Carbon\Carbon::parse($transaction->approved_at)->format('d M Y H:i') : '-' }}]
{{--

{{ $transaction->store->form_type->id }}

--}}

Transaction


{{-- --}}
@if ($user == '1')
@endif
@if ($transaction->payment_method == 'transfer')

Customer Bank


@endif

Customer


Customer KYC


@php $arr_tanda_pengenal = json_decode($transaction->customer->tanda_pengenal, true); @endphp

Items


@forelse($transaction->detail as $transaction_detail) @empty @endforelse @if (!empty($transaction->rounding)) @endif @if (!empty($transaction->service_fee)) @endif
Brand Type Weight Carat Image Reason Image Year Physique Year Price
{{ $transaction_detail->item_brand->brand_name }} @if ($transaction_detail->plu)
({{ $transaction_detail->plu }})
{{ $transaction_detail->plu_code }}
@if (in_array(auth()->user()->username, explode(',', env('IT_TEAM_MEMBERS'))))
{{ csrf_field() }}
PLU New
@endif @endif
{{ $transaction_detail->item_type->type }} {{ $transaction_detail->weight }} {{ $transaction_detail->item_carat->carat_text }} @if (!empty($transaction_detail->invoice_detail_image) > 0) @foreach ($transaction_detail->invoice_detail_image as $k => $v) {{-- --}} @if(\Illuminate\Support\Str::endsWith($v->image, '.pdf')) {{-- Jika file PDF --}} @else {{-- Jika file gambar --}} @endif @if ($user == '1') @endif @endforeach
@endif
@php $reasons = json_decode($transaction_detail->reason_add_image, true); @endphp @if(!empty($reasons) > 0) @foreach($reasons as $reason)
  • {{ $reason['reason'] }}, @ {{ $reason['timestamp'] }}
  • @endforeach @endif
    {{ csrf_field() }}
    {{ $transaction_detail->year ?? '' }} @if ($user == 1)
    {{ csrf_field() }}
    @endif
    {{ $transaction_detail->tahun_fisik ?? '' }} @if ($user == 1)
    {{ csrf_field() }}
    @endif
    {{ number_format($transaction_detail->price) }}
    No Data
    Total {{ number_format($transaction->total_product_price) }}
    Rounding {{ number_format($transaction->rounding) }}
    Service Fee {{ number_format($transaction->service_fee) }}
    Grand Total {{ number_format($transaction->grandtotal) }}

    Iris Logs


    @forelse($transaction->iris_log as $iris_log) @empty @endforelse
    Created at Type Reference Number Status Code
    {{ $iris_log->created_at }} {{ $iris_log->type }} {{ $iris_log->reference_number }} {{ $iris_log->status_code }}
    No Data