@extends('staff.layout') @section('content')
{{-- ================= HEADER ================= --}}
GT Complete
Completed Gold Transfer records
{{-- ================= FILTER + SEARCH ================= --}}
{{-- ================= CARD LIST ================= --}}
@foreach($completedGTs as $gt) @php $completion = $gt->completion; $type = strtolower($gt->transfer_type ?? ''); $customerName = $gt->customer_name ?? $gt->bank_name ?? '-'; $phone = $gt->customer_phone ?? $gt->bank_phone ?? ''; $gtNumber = $gt->id ?? '-'; $chequeNumber = $completion->cheque_no ?? '-'; $netWeight = (float) ( $gt->net_weight ?? $gt->weight ?? $gt->gold_weight ?? 0 ); $perGram = (float) ( $gt->per_gram ?? $gt->purity_amount_per_gram ?? 0 ); $loanType = $gt->loan_type ?? $gt->type ?? '-'; $loanAmount = (float) ( $gt->loan_amount ?? $gt->amount ?? 0 ); $interestRate = $gt->interest_rate ?? $gt->interest ?? null; $searchData = strtolower( $gtNumber . ' ' . $chequeNumber . ' ' . $customerName . ' ' . $phone . ' ' . $type . ' ' . $loanType ); @endphp @endforeach {{-- ================= NO RECORDS ================= --}}
No records found

No completed GT records match your search.

{{-- ================= FILTER + SEARCH JS ================= --}} @endsection