@extends('layouts.app') @section('content')
{{ $order->user->name ?? '' }}
{{ '+' . $order->user->phone ?? '' }}
{{ optional($order->user->profile)->address ?? '' }}
{{ $order->user->email ?? '' }}
{{ $order->created_at->format('d M Y') }}
{{ $order->created_at->format('H:i') }}
| Uraian | Qty | Harga | Subtotal | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
{{ optional($row->songLicense)->license_type . ' ' . $time_amount . ' ' . $time_type }}
{{ optional($row->songLicense->song)->title }}
@php
$composerNames = $row->songLicense->song->songContributors
->filter(function ($contributor) {
return $contributor->role ===
'Composer';
})
->pluck('user.name')
->implode(', ');
@endphp
{{ 'Cipt. ' . $composerNames }}
|
1 | @if ($payment_type == 'Beli Harga') {{ 'Rp.' . number_format($row->price) }} @endif | @if ($payment_type == 'Beli Harga') {{ 'Rp.' . number_format($row->price) }} @endif | ||||||||||||||||
| belum ada data | |||||||||||||||||||
| PPN ({{ $ppnAmount ?? '10' }}%) | Rp{{ number_format($ppn, 0, ',', '.') }} | ||||||||||||||||||
| Total | Rp. {{ number_format($total, 0, ',', '.') }} | ||||||||||||||||||
Belum ada riwayat order.
@endforelse