@extends('layouts.app', ['title' => 'Invoice '.$invoice->number]) @section('content') @php($tz = $account->timezone) @php($badge = $invoice->isOverdue() ? 'text-bg-danger' : (['paid' => 'text-bg-success', 'sent' => 'text-bg-warning', 'void' => 'text-bg-dark'][$invoice->status] ?? 'text-bg-secondary')) @php($canManage = auth()->user()->can('payments.manage'))