Example #1
0
" class="show document_id prj_project_header_id"><i class="fa fa-refresh"></i></a> 
      </li>
      <li><?php 
$f->l_text_field_d('project_number', 'primary_column2');
?>
</li>
      <li><?php 
$f->l_text_field_d('name');
?>
</li>
      <li><?php 
$f->l_select_field_from_object('bu_org_id', org::find_all_business(), 'org_id', 'org', ${$class}->bu_org_id, 'bu_org_id', $readonly1, '', '');
?>
						 </li>
      <li><?php 
$f->l_select_field_from_object('prj_project_type_id', prj_project_type_header::find_all(), 'prj_project_type_header_id', 'project_type', ${$class}->prj_project_type_id, 'prj_project_type_header_id', 'medium', 1, $readonly1);
?>
						 </li>
      <li><label class="auto_complete"><?php 
echo gettext('Customer Name');
?>
</label><?php 
echo $f->hidden_field_withId('ar_customer_id', ${$class}->ar_customer_id);
echo $f->text_field('customer_name', ${$class}->customer_name, '20', 'customer_name', 'select_customer_name', '', $readonly1);
?>
       <i class="ar_customer_id select_popup clickable fa fa-search"></i></li>
      <li><label class="auto_complete"><?php 
echo gettext('Customer Number');
?>
</label><?php 
$f->text_field_d('customer_number');
<div class="row small-left-padding">
 <div id="form_all">
  <div id="form_headerDiv">
   <form  method="post" id="prj_default_account_line"  name="default_account_line">
    <span class="heading"><?php 
echo gettext('Project Default Accounts');
?>
</span>
    <div id="form_serach_header" class="tabContainer">
     <label><?php 
echo gettext('Project Type');
?>
</label></label>
     <?php 
echo $f->select_field_from_object('prj_project_type_header_id', prj_project_type_header::find_all(), 'prj_project_type_header_id', 'project_type', $prj_project_type_header_id_h, 'prj_project_type_header_id', 'action');
?>
     <a name="show" href="form.php?class_name=prj_default_account&<?php 
echo "mode={$mode}";
?>
" class="show document_id prj_default_account_id action">
      <i class="fa fa-refresh"></i></a> 
    </div>
    <div id ="form_line" class="prj_default_account"><span class="heading"><?php 
echo gettext('Line Details');
?>
</span>
     <div id="tabsLine">
      <ul class="tabMain">
       <li><a href="#tabsLine-1"><?php 
echo gettext('Default Accounts');
?>