* zin: refactor
This commit is contained in:
@@ -41,7 +41,7 @@ form
|
||||
set::label($lang->program->budget),
|
||||
set::control(['type' => 'inputControl', 'prefix' => $lang->project->currencySymbol[$currency], 'prefixWidth' => 'icon']),
|
||||
on::change('budgetOverrunTips'),
|
||||
h::input(set(['type' => 'hidden', 'name' => 'budgetUnit', 'value' => $currency]))
|
||||
formHidden('budgetUnit', $currency),
|
||||
),
|
||||
formGroup
|
||||
(
|
||||
|
||||
@@ -14,7 +14,7 @@ class control extends wg
|
||||
{
|
||||
static $defineProps =
|
||||
[
|
||||
'type: string', // text, password, email, number, date, time, datetime, month, url, search, tel, color, picker, select, checkbox, radio, file, textarea
|
||||
'type: string', // text, password, email, number, date, time, datetime, month, url, search, tel, color, picker, select, checkbox, radio, checkboxList, radioList, checkboxListInline, radioListInline, file, textarea
|
||||
'name: string',
|
||||
'id?: string',
|
||||
'value?: string',
|
||||
|
||||
@@ -13,7 +13,7 @@ class historyRecord extends wg
|
||||
private function buildHistoriesList()
|
||||
{
|
||||
global $app, $lang;
|
||||
$actions = $this->prop('actions');
|
||||
$actions = $this->prop('actions') ?? data('actions');
|
||||
$users = $this->prop('users');
|
||||
$methodName = $this->prop('methodName');
|
||||
$historiesListView = h::ol(setClass('histories-list'));
|
||||
|
||||
Reference in New Issue
Block a user