mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Add Statement
to sidebar
This commit is contained in:
parent
9dececf08b
commit
ce554f5fcd
@ -16,5 +16,8 @@ use App\Http\Controllers\Controller;
|
||||
|
||||
class StatementController extends Controller
|
||||
{
|
||||
//
|
||||
public function index()
|
||||
{
|
||||
return render('statement.index');
|
||||
}
|
||||
}
|
||||
|
@ -119,6 +119,8 @@ class PortalComposer
|
||||
$data[] = ['title' => ctrans('texts.tasks'), 'url' => 'client.tasks.index', 'icon' => 'clock'];
|
||||
}
|
||||
|
||||
$data[] = ['title' => ctrans('texts.statement'), 'url' => 'client.statement', 'icon' => 'activity'];
|
||||
|
||||
return $data;
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,7 @@
|
||||
@extends('portal.ninja2020.layout.app')
|
||||
|
||||
@section('meta_title', ctrans('texts.statement'))
|
||||
|
||||
@section('body')
|
||||
|
||||
@endsection
|
@ -80,7 +80,7 @@ Route::group(['middleware' => ['auth:contact', 'locale', 'check_client_existence
|
||||
|
||||
Route::resource('tasks', 'ClientPortal\TaskController')->only(['index']);
|
||||
|
||||
Route::resource('statement', 'ClientPortal\StatementController');
|
||||
Route::get('statement', 'ClientPortal\StatementController@index')->name('statement');
|
||||
|
||||
Route::post('upload', 'ClientPortal\UploadController')->name('upload.store');
|
||||
Route::get('logout', 'Auth\ContactLoginController@logout')->name('logout');
|
||||
|
Loading…
x
Reference in New Issue
Block a user