diff --git a/app/Http/Controllers/EventController.php b/app/Http/Controllers/EventController.php index 79a54a3..c05c48c 100644 --- a/app/Http/Controllers/EventController.php +++ b/app/Http/Controllers/EventController.php @@ -126,6 +126,7 @@ class EventController extends Controller 'status' => ContentStatus::Drafting, 'target_date' => $event->start_time->toDateString(), 'notes' => $event->notes, + 'body' => $event->description, ]); } diff --git a/resources/views/dashboard.blade.php b/resources/views/dashboard.blade.php index 8f3ba06..1652844 100644 --- a/resources/views/dashboard.blade.php +++ b/resources/views/dashboard.blade.php @@ -6,153 +6,154 @@ @section('content') -{{-- ── Today's Schedule (TOP) ───────────────────────────────── --}} -
No activities today — enjoy your day!
- - @endforelse -- No stats yet. - Add stats → -
- @endforelse -No invoices yet.
+ @endforelseNo invoices yet.
- @endforelse +
-
|
-
- {{ $invoice->invoice_number }}
- |
-
|
- Bill To
- @if($invoice->client)
- {{ $invoice->client->name }}
- @if($invoice->client->company) {{ $invoice->client->company }} @endif
- @if($invoice->client->email) {{ $invoice->client->email }} @endif
- @if($invoice->client->full_address) {{ $invoice->client->full_address }} @endif
- @else
- —
- @endif
- |
-
- Invoice Details
-
|
-
| Description | -Qty | -Unit Price | -Total | +
+
|
+
+ {{ $invoice->invoice_number }}
+ |
| - {{ $item->description }} - @if(!$item->is_taxable) - Non-Taxable + |
+ Bill To
+ @if($invoice->client)
+ {{ $invoice->client->name }}
+ @if($invoice->client->company)
+ {{ $invoice->client->company }} @endif
+ @if($invoice->client->email)
+ {{ $invoice->client->email }} @endif
+ @if($invoice->client->full_address)
+ {{ $invoice->client->full_address }} @endif
+ @else
+ —
@endif
|
- {{ $item->quantity }} | -Rp {{ number_format($item->unit_price, 0, ',', '.') }} | -Rp {{ number_format($item->total, 0, ',', '.') }} | +
+ Invoice Details
+
|
| Subtotal | -Rp {{ number_format($invoice->subtotal, 0, ',', '.') }} | +Description | +Qty | +Unit Price | +Total |
| Tax ({{ $invoice->tax_rate }}% — paid by client) | -Rp {{ number_format($invoice->tax_amount, 0, ',', '.') }} | -||||
| Grand Total | -{{ $invoice->formatted_total }} | -
| Subtotal | +Rp {{ number_format($invoice->subtotal, 0, ',', '.') }} | +
| Tax ({{ $invoice->tax_rate }}% — paid by client) | +Rp {{ number_format($invoice->tax_amount, 0, ',', '.') }} + | +
| Grand Total | +{{ $invoice->formatted_total }} | +