@extends('layouts.panel.app', ['title' => 'Pembayaran Invoice']) @section('content') Pembayaran Invoice Data pembayaran invoice anda di sini. Pembayaran Invoice Kembali @csrf INVOICE PEMBAYARAN APPL000{{$data->appl_id}} / {{date('d-m-Y', strtotime($data->appl_date))}} Nomor {{$data->invoice_no}} Tanggal {{date('d M Y', strtotime($data->invoice_date))}} Tenggat Waktu {{date('d M Y', strtotime($data->invoice_due_date))}} Status @if($data->invoice_status == 'N') Belum Dibayar @else Sudah Dibayar @endif @php $label = \App\Models\Label::where(['code' => 'sekretariat' ])->first() @endphp {!!html_entity_decode($label->title)!!} {!!html_entity_decode($label->desc)!!} @php $label = \App\Models\Label::where(['code' => 'contact-footer' ])->first() @endphp {!!html_entity_decode($label->title)!!} {!!html_entity_decode($label->desc)!!} DATA INVOICE @php $total = 0; $form = \App\Models\Form::where('code', $data->appl_type)->first(); @endphp @if($form == null) Tidak ditemukan, belum ada pengajuan atau sudah dihapus. @else NAMA {{ $data->appl_front_degree }} {{ $data->appl_name }} {{ $data->appl_back_degree }} PENGAJUAN ( {{ $form->code }} ) {{ $form->name }} TANGGAL {{ date('d M Y', strtotime($data->appl_date)) }} @endif RINCIAN BIAYA DESKRIPSI QTY JUMLAH @php $total = 0; $invoice = \App\Models\FormTrnInvoiceDetail::where('invoice_id', $data->id)->get(); @endphp @if($invoice->count() > 0) @foreach ($invoice as $biaya) @if($biaya == null) Tidak ditemukan, belum setup biaya atau sudah dihapus. @else {{ $biaya->item_name }} {{ $biaya->item_quantity }} Rp. {{ number_format($biaya->item_amount, 0, ',', '.') }} @php $total += $biaya->item_amount; @endphp @endif @endforeach @else Tidak ditemukan, belum setup biaya form atau sudah dihapus. @endif Total Biaya Rp. {{ number_format($total, 0, ',', '.') }} TERBILANG : {{Terbilang::make($total, ' rupiah')}} INFORMASI PEMBAYARAN @php $label = \App\Models\Label::where(['code' => 'bank' ])->first() @endphp BANK TRANSFER {!!html_entity_decode($label->title)!!} {!!html_entity_decode($label->desc)!!} VIRTUAL ACCOUNT {{$data->static_va_no}} Fastpay Payment Channel {!! DNS2D::getBarcodeHTML(strval($data->invoice_no), 'QRCODE',5,5) !!} @endsection
Data pembayaran invoice anda di sini.