- add name_type 'Personal' and 'Organizational' for persons table (change also user interfaces therefore)
- don't use node-sass anymore npm updates - composer updates - laravel-mix now produces licence files for compiled javascripts
This commit is contained in:
parent
c649af199c
commit
5bbb3c5876
56 changed files with 17143 additions and 4395 deletions
|
@ -77,6 +77,7 @@ class IndexController extends Controller
|
|||
|
||||
$page = Page::query()->where('page_slug', 'terms-and-conditions')->firstOrFail();
|
||||
|
||||
$nameTypes = Config::get('enums.name_types');
|
||||
$contributorTypes = Config::get('enums.contributor_types');
|
||||
|
||||
//$relationTypes = array('updates' => 'updates', 'updated-by' => 'updated-by', 'other' => 'other');
|
||||
|
@ -92,6 +93,7 @@ class IndexController extends Controller
|
|||
'titleTypes',
|
||||
'keywordTypes',
|
||||
'descriptionTypes',
|
||||
'nameTypes',
|
||||
'contributorTypes',
|
||||
'page'
|
||||
)
|
||||
|
@ -380,7 +382,7 @@ class IndexController extends Controller
|
|||
} else {
|
||||
$dataPerson = new Person($person);
|
||||
$dataPerson->status = true;
|
||||
$dataPerson->name_type = "Personal";
|
||||
// $dataPerson->name_type = "Personal";
|
||||
$dataset->persons()->save($dataPerson, $pivot_data);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue