@extends('layouts.panel.app', ['title' => 'Pembayaran Invoice']) @section('content')

Pembayaran Invoice

Data pembayaran invoice anda di sini.

Pembayaran Invoice

@csrf

INVOICE PEMBAYARAN


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
@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; $application = \App\Models\FormTrnApplication::where('id', $data->application_id)->first(); $form = \App\Models\Form::where('code', $application->application_type)->first(); @endphp @if($application == null) @else @endif
Tidak ditemukan, belum ada pengajuan atau sudah dihapus.
NAMA {{ $application->front_degree }} {{ $application->name }} {{ $application->back_degree }}
PENGAJUAN APPL000{{$application->id}} ( {{ $form->code }} ) {{ $form->name }}
TANGGAL {{ date('d M Y', strtotime($application->created_at)) }}


RINCIAN BIAYA


@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) @else @php $total += $biaya->item_amount; @endphp @endif @endforeach @else @endif
DESKRIPSI QTY JUMLAH
Tidak ditemukan, belum setup biaya atau sudah dihapus.
{{ $biaya->item_name }} {{ $biaya->item_quantity }} Rp. {{ number_format($biaya->item_amount, 0, ',', '.') }}
Tidak ditemukan, belum setup biaya form atau sudah dihapus.
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)!!}

{!! DNS2D::getBarcodeHTML(strval($data->invoice_no), 'QRCODE',5,5) !!}
@endsection