Update Next.js to version 15.4.2 and refactor invoice pages

- Upgrade Next.js and related packages for improved performance and security
- Refactor invoice-related pages to streamline navigation and enhance user experience
- Consolidate invoice editing and viewing functionality into a single page
- Remove deprecated edit page and implement a new view page for invoices
- Update links and routing for consistency across the dashboard
This commit is contained in:
2025-07-18 20:18:43 -04:00
parent 505d47918e
commit 3ac6e4d5b8
14 changed files with 726 additions and 1588 deletions
+2
View File
@@ -134,6 +134,7 @@ export function AddressForm({
</Label>
{country === "United States" ? (
<SearchableSelect
key={`state-${state}`}
id="state"
options={stateOptions}
value={state || ""}
@@ -190,6 +191,7 @@ export function AddressForm({
{required && <span className="text-destructive ml-1">*</span>}
</Label>
<SearchableSelect
key={`country-${country}`}
id="country"
options={countryOptions}
value={country || ""}