@inject('numberFormatHelper', 'App\Helpers\NumberFormatHelper') @extends('layout/admin/main') @section('content')
@if ($params->gambar && file_exists(public_path("/images/products/$params->gambar"))) {{ url('images/products', $params->gambar) }} @else {{ url('images/not_image.png') }} @endif
{{ $params->nama }}

{{ $params->nomor_transaksi }}

{{ $params::getStatusText($params->status) }}

Informasi
  • Kode Transaksi :   {{ $params->nomor_transaksi ?? '-' }}
  • Nama Produk :   {{ $params->nama ?? '-' }}
  • Tanggal Sewa :   {{ date('d F Y, H:i', strtotime($params->take_date)) ?? '-' }}
  • Tanggal Kembali :   {{ date('d F Y, H:i', strtotime($params->return_date)) ?? '-' }}
  • Jenis Transaksi :   {{ strtoupper($params->jenis) }}
  • Status Transaksi :   {{ \App\Models\Transaksi::getStatusText($params->status) }}
  • Qty :   {{ $params->stok ?? '-' }}
  • Harga
  • @foreach (json_decode($params->biaya) as $key => $value)
  • Biaya {{ $params->produk[$key] }} :   {{ $numberFormatHelper->formatCurrency($value) }}
  • @endforeach
  • Diskon :   {{ $numberFormatHelper->formatCurrency($params->diskon) }}
  • Uang Muka :   {{ $numberFormatHelper->formatCurrency($params->uang_muka) }}
  • Kurang :   {{ $numberFormatHelper->formatCurrency($params->kekurangan) }}
  • Total : @if ($params->diskon > 0)   {{ $numberFormatHelper->formatCurrency($params->total_sum - $params->diskon) }} @else   {{ $numberFormatHelper->formatCurrency($params->total_sum) }} @endif
  • Kelengkapan
  • @foreach (json_decode($params->kelengkapan) as $key => $value)
  • {{ $key }} :   {{ $value ?? '-' }}
  • @endforeach
gambar_identitas ? 'hidden' : '' }}>
Foto Identitas
gambar_penyerahan ? 'hidden' : '' }}>
Foto Penyerahan Barang
@push('body-scripts') @once @endonce @endpush @endsection