Andrew Wallo 5 달 전
부모
커밋
60ecc9e39e

+ 1
- 1
app/Filament/Company/Resources/Purchases/BillResource/Pages/ViewBill.php 파일 보기

@@ -59,7 +59,7 @@ class ViewBill extends ViewRecord
59 59
                             ->label('Vendor')
60 60
                             ->color('primary')
61 61
                             ->weight(FontWeight::SemiBold)
62
-                            ->url(static fn (Bill $record) => VendorResource::getUrl('edit', ['record' => $record->vendor_id])),
62
+                            ->url(static fn (Bill $record) => VendorResource::getUrl('view', ['record' => $record->vendor_id])),
63 63
                         TextEntry::make('total')
64 64
                             ->label('Total')
65 65
                             ->currency(fn (Bill $record) => $record->currency_code),

+ 2
- 1
app/Filament/Company/Resources/Sales/ClientResource/Widgets/InvoiceOverview.php 파일 보기

@@ -59,7 +59,8 @@ class InvoiceOverview extends EnhancedStatsOverviewWidget
59 59
             EnhancedStatsOverviewWidget\EnhancedStat::make('Average Payment Time', $averagePaymentTimeFormatted)
60 60
                 ->suffix('days'),
61 61
             EnhancedStatsOverviewWidget\EnhancedStat::make('Average Invoice Total', CurrencyConverter::formatCentsToMoney($averageInvoiceTotal))
62
-                ->suffix(CurrencyAccessor::getDefaultCurrency()),
62
+                ->suffix(CurrencyAccessor::getDefaultCurrency())
63
+                ->description('Excludes draft and voided invoices'),
63 64
         ];
64 65
     }
65 66
 }

Loading…
취소
저장