1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 12:12:48 +01:00

Proposals

This commit is contained in:
Hillel Coren 2018-02-11 09:58:37 +02:00
parent 2f6574deff
commit 110640b61b
3 changed files with 3 additions and 3 deletions

View File

@ -127,7 +127,7 @@ class ProposalSnippetController extends BaseController
Session::flash('message', $message);
}
return redirect()->to('/proposal_snippets');
return redirect()->to('/proposals/snippets');
}
private function getIcons() {

View File

@ -27,7 +27,7 @@ $(function() {
style: '{!! $snippet->css !!}',
attributes: {
title: '{!! $snippet->private_notes !!}',
class:'fa fa-{!! $snippet->icon ?: 'book' !!}'
class:'fa fa-{!! $snippet->icon ?: 'font' !!}'
}
});
@endforeach

View File

@ -225,7 +225,7 @@ Route::group(['middleware' => ['lookup:user', 'auth:user']], function () {
Route::resource('proposals/templates', 'ProposalTemplateController');
Route::get('api/proposal_templates', 'ProposalTemplateController@getDatatable');
Route::post('proposals/proposals/bulk', 'ProposalController@bulk');
Route::post('proposals/bulk', 'ProposalController@bulk');
Route::get('proposals/{proposals}/edit', 'ProposalController@edit');
Route::get('proposals/create/{invoice_id?}/{proposal_template_id?}', 'ProposalController@create');
Route::resource('proposals', 'ProposalController');