Skip to content

Commit

Permalink
🔨 #95 criando constantes
Browse files Browse the repository at this point in the history
  • Loading branch information
bjverde committed Jun 26, 2023
1 parent 07c9418 commit 2898b65
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion app/control/controllers/TableInfo.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ final class TableInfo
//-----------------------------------------------------------------------------------
const TP_SYSTEM = 'TP_SYSTEM';
const TP_SYSTEM_THEME = 'TP_SYSTEM_THEME';
const TP_GRID = 'TP_GRID';
const TP_GRID_FROM_LIST = 'TP_GRID_FROM_LIST';
const TP_GRID_FROM_LIST_AD = 'TP_GRID_FROM_LIST_AD';
const TP_GRID_FROM_LIST_FD5= 'TP_GRID_FROM_LIST_FD5';

const TABLE_SCHEMA = 'TABLE_SCHEMA';
const TABLE_NAME = 'TABLE_NAME';
Expand Down
4 changes: 2 additions & 2 deletions app/control/forms/Gen00.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ public function __construct()
$frm->addRadioField('EASYLABEL', Message::FIELD_EASY_LABEL, true, $listTpSystem, false, true, 'Y', 3, null, null, null, false);

$frm->addButton('Ajuda sobre Grid',null,['helpHtmlRender','loadGrid'],null,null,true,false,'fa:life-ring fa-fw #f0db4f');
$listTpGrid = array('AD'=>'Adianti Nativo','FD'=>'Formdin5');
$frm->addRadioField(TableInfo::TP_GRID, Message::FIELD_TP_GRID, true, $listTpGrid, false, true, 'AD', 3, null, null, null, false);
$listTpGrid = array(TableInfo::TP_GRID_FROM_LIST_AD=>'Adianti Nativo',TableInfo::TP_GRID_FROM_LIST_FD5=>'Formdin5');
$frm->addRadioField(TableInfo::TP_GRID_FROM_LIST, Message::FIELD_TP_GRID, true, $listTpGrid, false, true, TableInfo::TP_GRID_FROM_LIST_AD, 3, null, null, null, false);
//$frm->closeGroup();

$frm->addGroupField('gpx3', Message::GEN00_GPX3_TITLE);
Expand Down

0 comments on commit 2898b65

Please sign in to comment.