| {{ $item->reference_number }} |
{{ $item->invoice }} |
{{ $item->customer_group }} |
{{ $item->customer }} |
{{ $item->lokasi }} |
{{ $item->created_at }} |
{{ $item->invoice_date }} |
{{ $item->notes }} |
{{ $item->notes_2 }} |
{{ $item->value_2 }} |
{{ $item->status }} |
{{ $item->brand }} |
{{ $item->pecahan }} |
{{ $item->certificate }} |
{{-- @php
$tax = $item->unit_price * 0.25 / 100;
@endphp --}}
@php
$pph_nominal = 0;
$total = $item->unit_price;
if($item->customer_group == "B2B") {
$total_exlude = $item->unit_price;
$tax = round($item->unit_price * 0.0025);
}
else {
$total_exlude = $item->unit_price;
}
@endphp
{{ $total_exlude}} |
@if($item->customer_group == "B2B")
@php
$pph_nominal = $total + $tax;
@endphp
{{-- {{ $pph_nominal}} ({{$tax}}) | --}}
{{$tax}} |
{{ $pph_nominal }} |
@else
- |
{{ $total_exlude }} |
@endif
{{ $item->invoice_sell }} |
{{ $item->user }} |
@endforeach