Andrew Wallo 7 mēnešus atpakaļ
vecāks
revīzija
05b6e577f7

+ 1
- 1
app/Filament/Company/Resources/Sales/EstimateResource/Pages/ViewEstimate.php Parādīt failu

@@ -76,7 +76,7 @@ class ViewEstimate extends ViewRecord
76 76
                                     ->label('Client')
77 77
                                     ->color('primary')
78 78
                                     ->weight(FontWeight::SemiBold)
79
-                                    ->url(static fn (Estimate $record) => ClientResource::getUrl('edit', ['record' => $record->client_id])),
79
+                                    ->url(static fn (Estimate $record) => ClientResource::getUrl('view', ['record' => $record->client_id])),
80 80
                                 TextEntry::make('expiration_date')
81 81
                                     ->label('Expiration date')
82 82
                                     ->asRelativeDay(),

+ 1
- 1
app/Filament/Company/Resources/Sales/InvoiceResource/Pages/ViewInvoice.php Parādīt failu

@@ -73,7 +73,7 @@ class ViewInvoice extends ViewRecord
73 73
                                     ->label('Client')
74 74
                                     ->color('primary')
75 75
                                     ->weight(FontWeight::SemiBold)
76
-                                    ->url(static fn (Invoice $record) => ClientResource::getUrl('edit', ['record' => $record->client_id])),
76
+                                    ->url(static fn (Invoice $record) => ClientResource::getUrl('view', ['record' => $record->client_id])),
77 77
                                 TextEntry::make('amount_due')
78 78
                                     ->label('Amount due')
79 79
                                     ->currency(static fn (Invoice $record) => $record->currency_code),

+ 1
- 1
app/Filament/Company/Resources/Sales/RecurringInvoiceResource/Pages/ViewRecurringInvoice.php Parādīt failu

@@ -90,7 +90,7 @@ class ViewRecurringInvoice extends ViewRecord
90 90
                                     ->label('Client')
91 91
                                     ->color('primary')
92 92
                                     ->weight(FontWeight::SemiBold)
93
-                                    ->url(static fn (RecurringInvoice $record) => ClientResource::getUrl('edit', ['record' => $record->client_id])),
93
+                                    ->url(static fn (RecurringInvoice $record) => ClientResource::getUrl('view', ['record' => $record->client_id])),
94 94
                                 TextEntry::make('last_date')
95 95
                                     ->label('Last invoice')
96 96
                                     ->date()

Notiek ielāde…
Atcelt
Saglabāt