mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-08-07 10:01:47 -04:00
Fixed issue when updating from previous version
This commit is contained in:
parent
b5f817cf14
commit
2b5167c266
@ -126,10 +126,9 @@ Route::group(['middleware' => 'auth'], function() {
|
|||||||
Route::get('settings/{section?}', 'AccountController@showSection');
|
Route::get('settings/{section?}', 'AccountController@showSection');
|
||||||
Route::post('settings/{section?}', 'AccountController@doSection');
|
Route::post('settings/{section?}', 'AccountController@doSection');
|
||||||
|
|
||||||
// Payment term
|
//Route::get('api/payment_terms', array('as'=>'api.payment_terms', 'uses'=>'PaymentTermController@getDatatable'));
|
||||||
Route::get('api/payment_terms', array('as'=>'api.payment_terms', 'uses'=>'PaymentTermController@getDatatable'));
|
//Route::resource('payment_terms', 'PaymentTermController');
|
||||||
Route::resource('payment_terms', 'PaymentTermController');
|
//Route::post('payment_terms/bulk', 'PaymentTermController@bulk');
|
||||||
Route::post('payment_terms/bulk', 'PaymentTermController@bulk');
|
|
||||||
|
|
||||||
Route::get('account/getSearchData', array('as' => 'getSearchData', 'uses' => 'AccountController@getSearchData'));
|
Route::get('account/getSearchData', array('as' => 'getSearchData', 'uses' => 'AccountController@getSearchData'));
|
||||||
Route::post('user/setTheme', 'UserController@setTheme');
|
Route::post('user/setTheme', 'UserController@setTheme');
|
||||||
|
@ -4,7 +4,7 @@ use Illuminate\Database\Eloquent\SoftDeletes;
|
|||||||
|
|
||||||
class PaymentTerm extends EntityModel
|
class PaymentTerm extends EntityModel
|
||||||
{
|
{
|
||||||
use SoftDeletes;
|
//use SoftDeletes;
|
||||||
|
|
||||||
public $timestamps = true;
|
public $timestamps = true;
|
||||||
protected $dates = ['deleted_at'];
|
protected $dates = ['deleted_at'];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user