Entering payments is functional.
This commit is contained in:
parent
dfd205fc37
commit
ece42aa07c
|
|
@ -33,7 +33,7 @@
|
||||||
{{ __('Invoices') }}
|
{{ __('Invoices') }}
|
||||||
</flux:sidebar.item>
|
</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') }}
|
{{ __('Payments') }}
|
||||||
</flux:sidebar.item>
|
</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>
|
||||||
|
|
@ -15,8 +15,9 @@ Route::middleware(['auth', 'verified'])->group(function () {
|
||||||
Route::view('products', 'products.index')->name('products');
|
Route::view('products', 'products.index')->name('products');
|
||||||
Route::view('invoices', 'invoices.index')->name('invoices');
|
Route::view('invoices', 'invoices.index')->name('invoices');
|
||||||
Route::get('invoices/{invoice}/edit',
|
Route::get('invoices/{invoice}/edit',
|
||||||
fn (Invoice $invoice) => view('invoices.edit', compact('invoice')))->name('invoices.edit');
|
fn(Invoice $invoice) => view('invoices.edit', compact('invoice')))->name('invoices.edit');
|
||||||
Route::get('invoices/{invoice}', CustomerInvoiceController::class)->name('invoices.show');
|
Route::get('invoices/{invoice}', CustomerInvoiceController::class)->name('invoices.show');
|
||||||
|
Route::view('payments', 'payments.index')->name('payments');
|
||||||
});
|
});
|
||||||
|
|
||||||
// Route::view('dashboard', 'dashboard')
|
// Route::view('dashboard', 'dashboard')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue