* Fix holiday errors.
This commit is contained in:
@@ -6,12 +6,13 @@ $config->holiday->actionList['edit']['text'] = '';
|
||||
$config->holiday->actionList['edit']['hint'] = $lang->holiday->edit;
|
||||
$config->holiday->actionList['edit']['url'] = array('module' => 'holiday', 'method' => 'edit', 'params' => 'holidayID={id}');
|
||||
$config->holiday->actionList['edit']['data-toggle'] = 'modal';
|
||||
$config->holiday->actionList['edit']['data-size'] = 'sm';
|
||||
|
||||
$config->holiday->actionList['delete']['icon'] = 'trash';
|
||||
$config->holiday->actionList['delete']['text'] = '';
|
||||
$config->holiday->actionList['delete']['hint'] = $lang->holiday->delete;
|
||||
$config->holiday->actionList['delete']['url'] = array('module' => 'holiday', 'method' => 'delete', 'params' => 'holidayID={id}');
|
||||
$config->holiday->actionList['delete']['class'] = 'btn ghost toolbar-item text-primary square size-sm ajax-submit';
|
||||
$config->holiday->actionList['delete']['className'] = 'ajax-submit';
|
||||
$config->holiday->actionList['delete']['data-confirm'] = $lang->holiday->confirmDelete;
|
||||
|
||||
$config->holiday->dtable = new stdclass();
|
||||
|
||||
@@ -10,15 +10,15 @@ declare(strict_types=1);
|
||||
*/
|
||||
namespace zin;
|
||||
|
||||
modalHeader(set::title($lang->holiday->create));
|
||||
|
||||
formPanel
|
||||
(
|
||||
set::title($lang->holiday->create),
|
||||
set::formClass('border-0'),
|
||||
formRow
|
||||
(
|
||||
formGroup
|
||||
(
|
||||
set::width('1'),
|
||||
set::label($lang->holiday->type),
|
||||
radioList
|
||||
(
|
||||
@@ -65,7 +65,6 @@ formPanel
|
||||
(
|
||||
formGroup
|
||||
(
|
||||
set::width('1'),
|
||||
set::label($lang->holiday->desc),
|
||||
editor
|
||||
(
|
||||
|
||||
@@ -10,15 +10,19 @@ declare(strict_types=1);
|
||||
*/
|
||||
namespace zin;
|
||||
|
||||
formPanel
|
||||
modalHeader
|
||||
(
|
||||
set::title($lang->holiday->edit),
|
||||
set::entityID(''),
|
||||
);
|
||||
|
||||
formPanel
|
||||
(
|
||||
set::formClass('border-0'),
|
||||
formRow
|
||||
(
|
||||
formGroup
|
||||
(
|
||||
set::width('1/2'),
|
||||
set::label($lang->holiday->type),
|
||||
radioList
|
||||
(
|
||||
@@ -65,7 +69,6 @@ formPanel
|
||||
(
|
||||
formGroup
|
||||
(
|
||||
set::width('1/2'),
|
||||
set::label($lang->holiday->desc),
|
||||
editor
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user