Pendaftar Baru

@if (\Session::has('oops')) @endif @if (\Session::has('success')) @endif @forelse($new_transactions as $key => $transaction) @php $shipment = $transaction->shipment_detail ? $transaction->shipment_detail->shipment : ''; @endphp {{-- --}} @empty @endforelse
No Tanggal Daftar Requested By Nomor Rekening Customer Jenis Emas Jumlah Emas Surat Pernyataan Status Pengiriman Action
{{ $new_transactions->firstItem() + $key }} {{ \Carbon\Carbon::parse($transaction->transaction_date)->format('d F Y H:i') }}
@if($transaction->jenis_pengajuan == 'new_application') New Applcation @elseif($transaction->jenis_pengajuan == 'reapplication') Reapplication @else - @endif
{{ $transaction->createdBy->name }}
({{ $transaction->store_in->name }})
{{ $transaction->code }} {{ $transaction->customer ? $transaction->customer->name : '~' }} {{ $transaction->items->isNotEmpty() ? ($transaction->items->first()->item_type == 'fisik' ? 'Emas Fisik' : 'Emas Digital') : '-' }} {{ $transaction->total_weight }} Gram @php $pathOSS = env('ALIYUN_OSS_IMAGE_URL_SGK') . '/' . 'lakusimpan'; $surat_kuasa_img = asset('images/image_placeholder.png'); if ($transaction->photo_surat_kuasa) { $surat_kuasa_img = $pathOSS . '/' . $transaction->photo_surat_kuasa; } @endphp @php $pathOSS = env('ALIYUN_OSS_IMAGE_URL_SGK') . '/' . 'lakusimpan'; $surat_pernyataan_img = asset('images/image_placeholder.png'); if ($transaction->photo_surat_pernyataan) { $surat_pernyataan_img = $pathOSS . '/' . $transaction->photo_surat_pernyataan; } @endphp @if ($transaction->status == 'rejected') REJECTED @else @if ($transaction->items->isNotEmpty() && $transaction->items->first()->item_type == 'fisik') @if ($shipment) {{ \App\Models\SGK\Shipment_transaction_model::SHIPMENT_STATUS[$shipment->status]['TEXT'] }} @if ($shipment->status == 'on_delivery')
@if (in_array(auth()->user()->username, explode(',', env('RECEIVER_ITEM_GP')))) @else @endif @elseif($shipment->status == 'received')
{{ $shipment->received_user ? $shipment->received_user->name : '~' }} ({{ $shipment->received_user ? $shipment->received_user->username : '~' }})
@endif @else Menunggu Pengiriman @endif @else @if (in_array($transaction->status, ['approved_digital', 'finished_digital'])) Sudah diterima di kantor pusat @endif @endif @endif
@if (in_array($transaction->status, ['waiting_approval']))
{{-- @if (auth()->user()->username == env('QC_GP')) @else @endif --}}
@else @if (in_array($transaction->status, ['shipping', 'approved_qc', 'approved_fisik', 'approved_digital'])) APPROVED
@if (!isset(json_decode($transaction->response_cmk_voucher, true)['voucher']['end_date'])) @if (in_array(auth()->user()->username, explode(',', env('SENDER_VOUCHER_GP')))) @else @endif @else Voucher terkirim
@if ($transaction->send_voucher_user) {{ $transaction->send_voucher_user->name }} ({{ $transaction->send_voucher_user->username }}) @endif @endif @elseif(in_array($transaction->status, [''])) COMPLETED @endif @endif
No Data
{{ $new_transactions->appends($_GET)->links() }}