Entering payments is functional.
This commit is contained in:
parent
dfd205fc37
commit
ece42aa07c
|
|
@ -33,7 +33,7 @@
|
|||
{{ __('Invoices') }}
|
||||
</flux:sidebar.item>
|
||||
|
||||
<flux:sidebar.item icon="currency-dollar" href="#" :current="request()->routeIs('payments.*')" wire:navigate>
|
||||
<flux:sidebar.item icon="currency-dollar" :href="route('payments')" :current="request()->routeIs('payments.*')" wire:navigate>
|
||||
{{ __('Payments') }}
|
||||
</flux:sidebar.item>
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,8 @@
|
|||
<x-layouts::app :title="__('Clients')">
|
||||
<div class="max-w-7xl mx-auto space-y-4">
|
||||
<div class="flex justify-end">
|
||||
<livewire:create-payment />
|
||||
</div>
|
||||
<livewire:payment-list />
|
||||
</div>
|
||||
</x-layouts::app>
|
||||
|
|
@ -17,6 +17,7 @@ Route::middleware(['auth', 'verified'])->group(function () {
|
|||
Route::get('invoices/{invoice}/edit',
|
||||
fn(Invoice $invoice) => view('invoices.edit', compact('invoice')))->name('invoices.edit');
|
||||
Route::get('invoices/{invoice}', CustomerInvoiceController::class)->name('invoices.show');
|
||||
Route::view('payments', 'payments.index')->name('payments');
|
||||
});
|
||||
|
||||
// Route::view('dashboard', 'dashboard')
|
||||
|
|
|
|||
Loading…
Reference in New Issue