@extends('templates.app') @section('container')
  • Nomor Pengajuan Keuangan

    {{ $pk->nomor ?? '-' }}
  • Nama Pegawai

    {{ $pk->user->name ?? '-' }}
  • Tanggal

    @if ($pk->tanggal) @php Carbon\Carbon::setLocale('id'); $tanggal = Carbon\Carbon::createFromFormat('Y-m-d', $pk->tanggal); $new_tanggal = $tanggal->translatedFormat('d F Y'); @endphp {{ $new_tanggal }} @else - @endif
  • @foreach ($pk->items as $item)
  • {{ $loop->iteration }}. Nama Barang
    :
    {{ $item->nama }}

    Qty
    :
    {{ $item->qty }}

    Harga
    :
    Rp {{ number_format($item->harga) }}

    Total
    :
    Rp {{ number_format($item->total) }}

  • @endforeach
  • Total Pengajuan

    Rp {{ number_format($pk->total_harga) }}
  • Keterangan

    {!! $pk->keterangan ? nl2br(e($pk->keterangan)) : '-' !!}
  • File

    @if ($pk->pk_file_path) {{ $pk->pk_file_name }} @else - @endif
  • Status

    @if ($pk->status == 'REJECTED')
    {{ $pk->status ?? '-' }}
    @elseif($pk->status == 'APPROVED')
    {{ $pk->status ?? '-' }}
    @elseif($pk->status == 'PENDING')
    {{ $pk->status ?? '-' }}
    @elseif($pk->status == 'ON GOING')
    {{ $pk->status ?? '-' }}
    @else
    {{ $pk->status ?? '-' }}
    @endif
  • User Approval

    {{ $pk->ua->name ?? '-' }}
  • Nota

    @if ($pk->nota_file_path) {{ $pk->nota_file_name }} @else - @endif
  • @if ($pk->status == 'PENDING') @endif @if ($pk->status == 'APPROVED') Terima Uang @endif @if ($pk->status == 'ON GOING') Upload Nota @endif

Upload Nota

@csrf
@error('nota_file_path')
{{ $message }}
@enderror






@endsection