add datatbles for invoices, add pdf icon, refactor icons components, add autocomplete on search, adapt searching to meilisearch

This commit is contained in:
ludo
2024-02-04 02:51:38 +01:00
parent 5c20e6d5d0
commit 6c88e43b74
39 changed files with 503 additions and 211 deletions

View File

@@ -2,7 +2,7 @@
Route::prefix('Clients')->name('Customers.')->group(function () {
Route::get('show/{id}', 'CustomerController@show')->name('show');
Route::get('profile/{id?}', 'CustomerController@profile')->name('profile');
Route::get('profile', 'CustomerController@profile')->name('profile');
Route::get('modalProfile/{id?}', 'CustomerController@modalProfile')->name('modalProfile');
Route::get('edit', 'CustomerController@edit')->name('edit');
Route::post('storeProfileAjax', 'CustomerController@storeProfileAjax')->name('storeProfileAjax');

View File

@@ -1,6 +1,7 @@
<?php
Route::prefix('Factures')->name('Invoices.')->group(function () {
Route::get('show/{uuid?}', 'InvoiceController@show')->name('show');
Route::any('', 'InvoiceController@index')->name('index');
Route::get('view/{uuid?}', 'InvoiceController@view')->name('view');
Route::get('pdf/{uuid?}', 'InvoiceController@pdf')->name('pdf');
});