wilded
6/29/2017 - 7:46 AM

Add Mode

Add Mode

Dropdown: "cliRecSex" =>array("header"=>"$cliRecSex","type"=>"enum",'view_type'=>'dropdownlist','source'=>$fill_from_array_cliRecSex ,"width"=>"140px","req_type"=>"","title"=>"","header_tooltip_type" => "floating","header_tooltip" => ""),
Date: 'cliRecArrivalDate' =>array('header'=>"$cliRecArrivalDate", 'type'=>'date', 'req_type'=>'', 'width'=>'187px', 'title'=>'', 'readonly'=>'false', 'default'=>'', 'unique'=>'false', 'unique_condition'=>'', 'on_js_event'=>'', 'calendar_type'=>'dropdownlist'),"phoStyleName" =>array("header"=>"$phoStyleName","type"=>"textbox","width"=>"400px","req_type"=>"","title"=>"", 'unique'=>true),
Datetime: 'cliRecArrivalDate' =>array('header'=>"$cliRecArrivalDate", 'type'=>'datetime', 'req_type'=>'', 'width'=>'187px', 'title'=>'', 'readonly'=>'false', 'default'=>'', 'unique'=>'false', 'unique_condition'=>'', 'on_js_event'=>'', 'calendar_type'=>'dropdownlist'),"phoStyleName" =>array("header"=>"$phoStyleName","type"=>"textbox","width"=>"400px","req_type"=>"","title"=>"", 'unique'=>true),
Image: "phoFrontImage" =>array("header"=>"$phoFrontImage","type"=>"image","req_type"=>"","width"=>"250px","title"=>"","readonly"=>"false","maxlength"=>"","default"=>"","unique"=>"false","unique_condition"=>"","visible"=>"true","on_js_event"=>"","target_path"=>"photo_catalog/","allow_image_updating"=>"true","max_file_size"=>"10M","image_width"=>"50%","image_height"=>"","resize_dir"=>"","resize_image"=>"true","resize_width"=>"","resize_height"=>"","magnify"=>"true","magnify_type"=>"lightbox","magnify_power"=>"3","file_name"=>"$phoNewImageFrontFilename","host"=>"","allow_downloading"=>"false","allowed_extensions"=>""),
Textarea: 'phoFrontImageDesc' =>array('header'=>"$phoFrontImageDesc",'type'=>'textarea','req_type'=>'','width'=>'400px','title'=>'','readonly'=>'false','maxlength'=>'-1','default'=>'','unique'=>'false','unique_condition'=>'','visible'=>'true','on_js_event'=>'','edit_type'=>'simple','resizable'=>'both','upload_images'=>'false','rows'=>'7','cols'=>'50'),
Textbox (small): "cliRecWeight" =>array("header"=>"$cliRecWeight","type"=>"textbox",'default'=>"","width"=>"100px","req_type"=>""),
Textbox (Normal): "cliRecWeight" =>array("header"=>"$cliRecWeight","type"=>"textbox",'default'=>"","width"=>"100px","req_type"=>""),
Checkbox 1: "comAutoInventoryUpdate" =>array("header"=>"$comAutoInventoryUpdate","type"=>"enum",'view_type'=>'checkbox','source'=>$fill_from_array_checkbox ,"width"=>"140px","req_type"=>"","title"=>"","header_tooltip_type" => "floating","header_tooltip" => "", 'readonly'=>'false'),
Checkbox 2: "cliRecPenicilinAlergy" =>array("header"=>"$cliRecPenicilinAlergy","type"=>"checkbox",'view_type'=>'checkbox','true_value'=>1 ,'false_value'=>0,"width"=>"140px","req_type"=>"","title"=>"","header_tooltip_type" => "floating","header_tooltip" => ""),
File: "proBrochure" =>array( "header"=>"$proBrochure", 'default'=>"", "type"=>"file", 'target_path'=>"product_brochures/", 'file_name'=>"$proNewBrochureFilename", "width"=>"250px", "req_type"=>""),
Foreign Key (Norma): "status" =>array("header"=>"$Cal_status","type"=>"foreign_key","req_type"=>"ry","width"=>"210px","title"=>"","readonly"=>"false","default"=>"","unique"=>"false","unique_condition"=>"","visible"=>"true","showcount"=>"true"),
Foreign Key (W/Button): "cliRecClientID" =>array("header"=>"$phoClientID <button class=\"btn btn-default btn-xs\" onclick=\"document.getElementById('ModalIF_phoClientID').src='clients_grid.php?view_mode=iframe'\" data-toggle=\"modal\" data-target=\"#Modal_phoClientID\" ><span class=\"glyphicon glyphicon-search\"></span></button>","type"=>"foreign_key","req_type"=>"ry","width"=>"210px","title"=>"","readonly"=>"false","default"=>"$rid","unique"=>"false","unique_condition"=>"","visible"=>"true","showcount"=>"true"),
Money: "purDetPrice" =>array("header"=>"purDetPrice", "type"=>"money", "req_type"=>"rn", "width"=>"150px", "title"=>"", "readonly"=>"false", "maxlength"=>"", "default"=>"", "unique"=>"false", "unique_condition"=>"", "visible"=>"true", "on_js_event"=>"", "sign"=>"$", "sign_place"=>"before", "decimal_places"=>"2", "dec_separator"=>".", "thousands_separator"=>","),
Password: "password" =>array("header"=>"Contraseña:", 'default'=>" ", "type"=>"password", 'readonly'=>false, "width"=>"100px", "req_type"=>"rp", 'hide'=>true, 'generate'=>true, 'cryptography'=>false, 'cryptography_type'=>'aes', 'aes_cryptography'=>'asdf4321'),
Hidden: "allDay" =>array("header"=>"$Cal_allDay", "type"=>"hidden", "width"=>"300px", "req_type"=>"", "title"=>"", "unique"=>false, "default"=>"false", "readonly"=>"true"),
Enum: "casDraType" =>array("header"=>"$casDraType", "type"=>"enum", "req_type"=>"", "width"=>"", "title"=>"", "readonly"=>"false", "maxlength"=>"", "default"=>"", "unique"=>"false", "unique_condition"=>"", "visible"=>"true", "on_js_event"=>"", "source"=>$fill_from_array_casDraType, "view_type"=>"radiobutton", "elements_alignment"=>"vertical", "multiple"=>"false"),
Link: "NOMBRE_EMPRESA" =>array("header"=>"Empresa", "type"=>"link", 'field_key'=>'ID_EMPRESA', 'field_key_1'=>'CLIENTE', 'field_data'=>'NOMBRE_EMPRESA', 'href'=>"empresas.php?id_empresa={0}&info_ent_emp=1&id_contacto_sol={1}", "target"=>"_blank" ,"align"=>"center", "header_tooltip"=>"De clic en el folio para ver detalles y dirección de entrega", "text_length"=>"100", "case"=>"normal"),