View::h($v); $isEdit = !empty($invoice['id']); // Pre-select customer if passed via GET $preCustomer = (int)($_GET['customer_id'] ?? 0); ?>