Exemple #1
0
        ?>
themes/images/add.png"  alt="add new line" /></li>
                    <li class="remove_row_img"><img src="<?php 
        echo HOME_URL;
        ?>
themes/images/remove.png" alt="remove this line" /> </li>
                    <li><input type="checkbox" name="detail_id_cb" value="<?php 
        echo htmlentities($option_detail->option_detail_id);
        ?>
"></li>           
                    <li><?php 
        echo form::hidden_field('option_line_id', $option_line->option_line_id);
        ?>
</li>
                    <li><?php 
        echo form::hidden_field('option_header_id', ${$class}->option_header_id);
        ?>
</li>
                   </ul>
                  </td>
                  <td><?php 
        $f->text_field_wid3sr('option_detail_id');
        ?>
</td>
                  <td><?php 
        $f->text_field_wid3('option_detail_value');
        ?>
</td>
                  <td><?php 
        $f->text_field_wid3('description');
        ?>
foreach ($secondary_field_object as $secondary_field) {
    ?>
         <tr class="sys_secondary_field_instance<?php 
    echo $count;
    ?>
">
          <td>   
           <ul class="inline_action">
            <li class="add_row_img clickable"><i class="fa fa-plus-circle"></i></li>
            <li class="remove_row_img"><i class="fa fa-minus-circle"></i></li>
            <li><input type="checkbox" name="line_id_cb" value="<?php 
    echo $secondary_field->sys_secondary_field_instance_id;
    ?>
">
             <?php 
    echo form::hidden_field('reference_key_name', $obj_class_name_h);
    ?>
            </li>           
           </ul>
          </td>
          <td><?php 
    $f->seq_field_d($count);
    ?>
</td>
          <td><?php 
    echo $f->text_field('sys_secondary_field_instance_id', $secondary_field->sys_secondary_field_instance_id, '8', '', '', '', 1);
    ?>
</td>
          <td><?php 
    echo $f->select_field_from_object('sys_secondary_field_id', sys_secondary_field::find_all(), 'sys_secondary_field_id', 'field_name', $secondary_field->sys_secondary_field_id, '', 'medium', '', '', '', '', '', 'field_type');
    ?>
    ?>
">
          <td class="action-td">
           <ul class="inline_action">
            <li  class="remove_row_img remove_from_cart clickable"><i class="fa fa-2x fa-minus-circle" title="Remove Product"></i></li>
            <li><?php 
    echo '<a href="' . HOME_URL . 'product.php?ec_product_id=' . ${$class}->ec_product_id . '" title="View Product Details"><i class="fa fa-2x fa-info-circle clickable"></i></a>';
    ?>
             <?php 
    echo form::hidden_field('ec_cart_id', ${$class}->ec_cart_id);
    ?>
             <?php 
    echo form::hidden_field('user_id', $user_id_h);
    ?>
             <?php 
    echo form::hidden_field('ec_product_id', ${$class}->ec_product_id);
    ?>
             <?php 
    echo $f->hidden_field('currency', $curr);
    ?>
             <?php 
    echo $f->hidden_field('tax_code', $tax_code);
    ?>
             <?php 
    echo $f->hidden_field('sales_price', ${$class}->sales_price);
    ?>
             <?php 
    echo $f->hidden_field('product_name', $product_name);
    ?>
            </li>
           </ul>
    ?>
         
        <tr class="qa_collection_element_action<?php 
    echo $count;
    ?>
">
         <td>    
          <ul class="inline_action">
           <li class="add_row_img"><i class="fa fa-plus-circle"></i></li>
           <li class="remove_row_img"><i class="fa fa-minus-circle"></i></li>
           <li><input type="checkbox" name="line_id_cb" value="<?php 
    echo htmlentities($qa_collection_element_action->qa_collection_element_action_id);
    ?>
"></li>           
           <li><?php 
    echo form::hidden_field('qa_collection_element_header_id', ${$class}->qa_collection_element_header_id);
    ?>
</li>
          </ul>
         </td>
         <td><?php 
    form::text_field_wid3sr('qa_collection_element_action_id');
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_array('action_condition', dbObject::$control_type_a, ${$class_third}->action_condition, '', 'medium');
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_array('comparison', qa_collection_element_action::$comparison_a, ${$class_third}->comparison, '', 'medium');
    ?>
 *
 * @copyright   2014 Nishit R. Das
 * @license     https://www.mozilla.org/MPL/2.0/
 * @link        http://inoideas.org
 * @source code https://github.com/inoerp/inoERP
-->

<div id ="form_header"><span class="heading"><?php 
echo __('Payable Control');
?>
</span>
 <form method="post" id="ap_payable_control"  name="ap_payable_control">
  <div class="tabContainer">
   <ul class="column header_field">
    <?php 
echo form::hidden_field('ap_payable_control_id', ${$class}->ap_payable_control_id);
?>
    <li><?php 
$f->l_select_field_from_object('org_id', org::find_all_business(), 'org_id', 'org', ${$class}->org_id, 'org_id', 'action', 1, $readonly1);
?>
     <a name="show" href="form.php?class_name=ap_payable_control&<?php 
echo "mode={$mode}";
?>
" class="show org_id"><i class="fa fa-refresh"></i></a> 
    </li>
   </ul>
  </div>
  <div id ="form_line" class="form_line"><span class="heading"><?php 
echo __('Control Details');
?>
</span>
Exemple #6
0
    ?>
         
          <tr class="am_wo_bom<?php 
    echo $count;
    ?>
">
           <td>    
            <ul class="inline_action">
             <li class="add_row_img"><i class="fa fa-plus-circle"></i></li>
             <li class="remove_row_img"><i class="fa fa-minus-circle"></i></li>
             <li><input type="checkbox" name="line_id_cb" value="<?php 
    echo htmlentities($am_wo_bom->am_wo_bom_id);
    ?>
"></li>           
             <li><?php 
    echo form::hidden_field('am_wo_header_id', ${$class}->am_wo_header_id);
    ?>
</li>
            </ul>
           </td>
           <td><?php 
    form::text_field_wid4s('am_wo_bom_id');
    ?>
</td>
           <td><?php 
    form::text_field_wid4sm('bom_sequence');
    ?>
</td>
           <td><?php 
    echo !empty($routing_line_details) ? form::select_field_from_object('routing_sequence', $routing_line_details, 'routing_sequence', 'routing_sequence', ${$class_fourth}->routing_sequence, 'routing_sequence') : form::text_field_wid4s('routing_sequence');
    ?>
Exemple #7
0
    ?>
         
        <tr class="prj_project_control<?php 
    echo $count;
    ?>
">
         <td>    
          <ul class="inline_action">
           <li class="add_row_img"><i class="fa fa-plus-circle"></i></li>
           <li class="remove_row_img"><i class="fa fa-minus-circle"></i></li>
           <li><input type="checkbox" name="line_id_cb" value="<?php 
    echo htmlentities($prj_project_control->prj_project_control_id);
    ?>
"></li>           
           <li><?php 
    echo form::hidden_field('prj_project_header_id', ${$class}->prj_project_header_id);
    ?>
</li>
          </ul>
         </td>
         <td><?php 
    form::text_field_wid4sr('prj_project_control_id');
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_object('prj_expenditure_type_id', prj_expenditure_type_header::find_all(), 'prj_expenditure_type_header_id', 'expenditure_type', ${$class_fourth}->prj_expenditure_type_id, '', 'medium');
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_object('prj_expenditure_category_code', option_header::find_by_name('PRJ_EXPENDITURE_CATEGORY'), 'option_line_code', 'option_line_value', ${$class_fourth}->prj_expenditure_category_code, '', 'medium');
    ?>
Exemple #8
0
     <li class="btn btn-info active inline input_file clickable"  role="button"><input type="file" id="comment_attachments"  class="input_file_btn clickable" name="attachments[]" multiple/>
      <i class="fa fa-paperclip clickable"></i>&nbsp;&nbsp;Select File</li>
     <li><input type="button"  role="button" value="Attach"  name="attach_submit" id="comment_attach_submit" class="btn btn-info active comment_attach_submit"></li>
        <?php 
$user_name = isset($_SESSION['username']) ? $_SESSION['username'] : '******';
?>
     <li><div class="input-group">
       <span class="input-group-addon" id="basic-addon1">Reply as </span>
       <input type="text" name="comment_by" class="form-control comment_by height-unset" placeholder="<?php 
echo $user_name;
?>
" aria-describedby="basic-addon1" >
      </div></li>
     <li><input type="button" role="button" name="submit_comment" class="btn btn-warning ino-btn submit_comment" Value="Post"></li>
     <?php 
echo form::hidden_field('class_name', $class);
echo $f->hidden_field_withId('upload_type', 'only_server');
?>

    </ul>
    <div class="uploaded_file_details"></div>
   </div>
   <div id="uploaded_file_details">		</div>
<?php 
echo file::attachment_statement($file);
?>
  </form>
 </div>
 <!--END OF FORM HEADER-->  
</div>
<!--   end of structure-->
         <td>    
          <ul class="inline_action">
           <li class="add_row_img"><img  src="<?php 
    echo HOME_URL;
    ?>
themes/images/add.png"  alt="add new line" /></li>
           <li class="remove_row_img"><img src="<?php 
    echo HOME_URL;
    ?>
themes/images/remove.png" alt="remove this line" /> </li>
           <li><input type="checkbox" name="line_id_cb" value="<?php 
    echo htmlentities(${$class_second}->hr_position_hierarchy_line_id);
    ?>
"></li>           
           <li><?php 
    echo form::hidden_field('hr_position_hierarchy_header_id', $hr_position_hierarchy_header->hr_position_hierarchy_header_id);
    ?>
</li>
          </ul>
         </td>
         <td><?php 
    form::text_field_wid2sr('hr_position_hierarchy_line_id');
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_object('position_id', hr_position::find_all(), 'hr_position_id', 'position_name', ${$class_second}->position_id, '', '', 1, $readonly);
    ?>
</td>
         <td><?php 
    echo $f->date_fieldAnyDay('effective_start_date', ${$class_second}->effective_start_date);
    ?>
    ?>
</li>
           <li><?php 
    echo form::hidden_field('transaction_type', ${$class}->transaction_type);
    ?>
</li>
           <li><?php 
    echo form::hidden_field('transaction_date', ${$class}->transaction_date);
    ?>
</li>
           <li><?php 
    echo form::hidden_field('am_wo_routing_line_id', ${$class_third}->am_wo_routing_line_id);
    ?>
</li>
           <li><?php 
    echo form::hidden_field('am_wo_routing_detail_id', ${$class_third}->am_wo_routing_detail_id);
    ?>
</li>
          </ul>
         </td>
         <td><?php 
    form::number_field_wid3sr('routing_sequence');
    ?>
</td>
         <td><?php 
    echo form::select_field_from_object('department_id', bom_department::find_all(), 'bom_department_id', 'department', ${$class_third}->department_id, 'department_id', 1);
    ?>
</td>
         <td><?php 
    form::text_field_wid3sr('resource_sequence');
    ?>
Exemple #11
0
    ?>
">
          <td>    
           <ul class="inline_action">
            <li class="add_row_img"><i class="fa fa-plus-circle"></i></li>
            <li class="remove_row_img"><i class="fa fa-minus-circle"></i></li>
            <li><input type="checkbox" name="line_id_cb" value="<?php 
    echo htmlentities($sys_profile_line->sys_profile_line_id);
    ?>
"></li>           
            <li><?php 
    echo form::hidden_field('sys_profile_header_id', ${$class}->sys_profile_header_id);
    ?>
</li>
            <li><?php 
    echo form::hidden_field('profile_level', ${$class}->profile_level);
    ?>
</li>
           </ul>
          </td>
          <td><?php 
    form::number_field_wid2sr('sys_profile_line_id');
    ?>
</td>
          <?php 
    switch ($profile_level) {
        case 'SITE':
            echo "<td>";
            echo $f->text_field('level_name', 'SITE', '', '', '', 1, 1) . '</td><td>';
            break;
        case 'BUSINESS':
<div id="fp_planning_control_divId">
 <span class="heading"><?php 
echo gettext('Planning Control Header');
?>
</span>
 <form action=""  method="post" id="fp_planning_control"  name="fp_planning_control">
  <div class="tabContainer">
   <ul class="column header_field">
    <?php 
echo form::hidden_field('fp_planning_control_id', ${$class}->fp_planning_control_id);
?>
    <li><?php 
$f->l_select_field_from_object('org_id', org::find_all_inventory(), 'org_id', 'org', ${$class}->org_id, 'org_id', '', 1, $readonly1);
?>
     <a name="show" href="form.php?class_name=fp_planning_control&<?php 
echo "mode={$mode}";
?>
" class="show document_id fp_planning_control_id">
      <i class="fa fa-refresh"></i></a> 
    </li>
   </ul>
  </div>
  <div id ="form_line" class="form_line"><span class="heading"><?php 
echo gettext('Planning Control Details');
?>
</span>
   <div id="tabsLine">
    <ul class="tabMain">
     <li><a href="#tabsHeader-1"><?php 
echo gettext('Planning Info');
?>
  <div class="line_before_tab"> 
   <ul class="column five_column inline_list"> 
    <li><?php 
$f->l_select_field_from_object('fa_asset_book_id', fa_asset_book::find_all(), 'fa_asset_book_id', 'asset_book_name', ${$class_second}->fa_asset_book_id, 'fa_asset_book_id', 'action');
?>
     <a name="show2" href="form.php?class_name=fa_asset_category&<?php 
echo "mode={$mode}";
?>
" class="show2 document_id fa_book_category_association_id">
      <i class="fa fa-refresh"></i></a> 
    </li> 
    <li class="hidden"><?php 
echo form::hidden_field('fa_asset_category_id', ${$class}->fa_asset_category_id);
?>
     <?php 
echo form::hidden_field('fa_book_category_association_id', ${$class_second}->fa_book_category_association_id);
?>
    </li>
   </ul>
  </div>
  <div id="tabsLine">
   <ul class="tabMain">
    <li><a href="#tabsLine-1"><?php 
echo gettext('Cost Accounts');
?>
</a></li>
    <li><a href="#tabsLine-2"><?php 
echo gettext('Depreciation Accounts');
?>
</a></li>
   </ul>
                   <td>   
                    <ul class="inline_action">
                     <li class="add_row_detail_img"><img  src="<?php 
    echo HOME_URL;
    ?>
themes/images/add.png"  alt="add new line" /></li>
                     <li class="remove_row_img"><img src="<?php 
    echo HOME_URL;
    ?>
themes/images/remove.png" alt="remove this line" /> </li>
                     <li><input type="checkbox" name="detail_id_cb" value="<?php 
    echo htmlentities($serial_no->inv_serial_number_id);
    ?>
"></li>           
                     <li><?php 
    echo form::hidden_field('inv_transaction_id', ${$class}->inv_transaction_id);
    ?>
</li>
                    </ul>
                   </td>
                   <td><?php 
    echo $f->text_field('serial_number', $serial_no->serial_number, '25');
    echo $f->hidden_field('serial_generation', ${$class}->serial_generation);
    ?>
                   </td>

                  </tr>
                  <?php 
    $detailCount++;
}
?>
Exemple #15
0
        }
        ?>
                    <tr class="sys_process_flow_action<?php 
        echo $count . '-' . $detailCount;
        ?>
">
                     <td>   
                      <ul class="inline_action">
                       <li class="add_row_detail_img"><i class="fa fa-plus-circle"></i></li>
                       <li class="remove_row_img"><i class="fa fa-minus-circle"></i></li>
                       <li><input type="checkbox" name="detail_id_cb" value="<?php 
        echo htmlentities($sys_process_flow_action->cc_co_process_flow_action_id);
        ?>
"></li>           
                       <li><?php 
        echo form::hidden_field('cc_co_header_id', ${$class}->cc_co_header_id);
        ?>
</li>
                      </ul>
                     </td>
                     <td><?php 
        form::text_field_wid3sr('cc_co_process_flow_action_id');
        ?>
</td>
                     <td><?php 
        form::text_field_wid3sr('sys_process_flow_line_id');
        ?>
</td>
                     <td><?php 
        echo $f->number_field('action_number', ${$class_third}->action_number, '', '', 'detail_number');
        ?>
    ?>
         
      <tr class="prj_status_actuals<?php 
    echo $count;
    ?>
">
       <td>    
        <ul class="inline_action">
         <li class="add_row_img"><i class="fa fa-plus-circle"></i></li>
         <li class="remove_row_img"><i class="fa fa-minus-circle"></i></li>
         <li><input type="checkbox" name="line_id_cb" value="<?php 
    echo htmlentities($prj_status_actuals->prj_status_actuals_id);
    ?>
"></li>           
         <li><?php 
    echo form::hidden_field('prj_status_header_id', ${$class}->prj_status_header_id);
    ?>
</li>
        </ul>
       </td>
       <td><?php 
    form::text_field_wid4sr('prj_status_actuals_id');
    ?>
</td>
       <td><?php 
    echo $f->select_field_from_array('source', prj_status_actuals::$source_a, ${$class_fourth}->source, '', 'medium');
    ?>
</td>
       <td><?php 
    echo $f->select_field_from_object('billing_type', hd_service_type_header::billing_type(), 'option_line_code', 'option_line_value', ${$class_fourth}->billing_type, '', 'medium', '', 1);
    ?>
Exemple #17
0
?>
</span>
 <form method="post" id="mdm_bank_site"  name="mdm_bank_site">
  <div id='line_before_tab' class="ino-well"> 
   <ul class="column header_field "> 
    <li><?php 
$f->l_select_field_from_array('mdm_bank_site_id', mdm_bank_site::find_all_sitesOfHeader_array(${$class}->mdm_bank_header_id), ${$class_second}->mdm_bank_site_id, 'mdm_bank_site_id', ' medium');
?>
     <a name="show" href="form.php?class_name=mdm_bank_header&<?php 
echo "mode={$mode}";
?>
" class="show document_id mdm_bank_site_id" data-search_field='mdm_bank_site_id'>
      <i class='fa fa-refresh'></i></a> 
    </li> 
    <?php 
echo form::hidden_field('mdm_bank_header_id', ${$class}->mdm_bank_header_id);
?>
    <li><?php 
$f->l_text_field('branch_name', ${$class_second}->branch_name);
?>
 </li>
    <li><?php 
$f->l_text_field('branch_number', ${$class_second}->branch_number);
?>
	</li>
   </ul>
  </div>
  <div id="tabsLine">
   <ul class="tabMain">
    <li><a href="#tabsLine-1"><?php 
echo __('Main');
inoERP
 *
 * @copyright   2014 Nishit R. Das
 * @license     https://www.mozilla.org/MPL/2.0/
 * @link        http://inoideas.org
 * @source code https://github.com/inoerp/inoERP
-->
<div id ="form_header"><span class="heading"><?php 
echo gettext('Sales Control');
?>
</span>
 <form method="post" id="sd_sales_control"  name="sd_sales_control">
  <div class="tabContainer">
   <ul class="column header_field">
    <?php 
echo form::hidden_field('sd_sales_control_id', ${$class}->sd_sales_control_id);
?>
    <li><?php 
$f->l_select_field_from_object('org_id', org::find_all_business(), 'org_id', 'org', ${$class}->org_id, 'org_id', 'action', 1, $readonly1);
?>
     <a name="show" href="form.php?class_name=sd_sales_control&<?php 
echo "mode={$mode}";
?>
" class="show document_id sd_sales_control_id">
      <i class='fa fa-refresh'></i></a> 
    </li>
   </ul>
  </div>
  <div id ="form_line" class="form_line"><span class="heading"><?php 
echo gettext('Details');
?>
 *
 * @copyright   2014 Nishit R. Das
 * @license     https://www.mozilla.org/MPL/2.0/
 * @link        http://inoideas.org
 * @source code https://github.com/inoerp/inoERP
-->

<div id ="form_header"><span class="heading"><?php 
echo gettext('Purchasing Control');
?>
</span>
 <form  method="post" id="po_purchasing_control"  name="po_purchasing_control">
  <div class="tabContainer">
   <ul class="column header_field">
    <?php 
echo form::hidden_field('po_purchasing_control_id', ${$class}->po_purchasing_control_id);
?>
    <li><?php 
$f->l_select_field_from_object('org_id', org::find_all_business(), 'org_id', 'org', ${$class}->org_id, 'org_id', 'action', 1, $readonly1);
?>
     <a name="show" href="form.php?class_name=po_purchasing_control&<?php 
echo "mode={$mode}";
?>
" class="show org_id"><i class="fa fa-refresh"></i></a> 
    </li>
    <li><?php 
$f->l_checkBox_field_d('rev_enabled');
?>
</li>
    <li><?php 
$f->l_text_field_d('rev_number');
    ?>
         
        <tr class="prj_burden_structure_expendituretype<?php 
    echo $count;
    ?>
">
         <td>    
          <ul class="inline_action">
           <li class="add_row_img"><i class="fa fa-plus-circle"></i></li>
           <li class="remove_row_img"><i class="fa fa-minus-circle"></i></li>
           <li><input type="checkbox" name="line_id_cb" value="<?php 
    echo htmlentities($prj_burden_structure_expendituretype->prj_burden_structure_expendituretype_id);
    ?>
"></li>           
           <li><?php 
    echo form::hidden_field('prj_burden_structure_header_id', ${$class}->prj_burden_structure_header_id);
    ?>
</li>
          </ul>
         </td>
         <td><?php 
    form::text_field_wid3sr('prj_burden_structure_expendituretype_id');
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_object('prj_expenditure_type_id', prj_expenditure_type_header::find_all(), 'prj_expenditure_type_header_id', 'expenditure_type', ${$class_third}->prj_expenditure_type_id, '', 'large', 1, '');
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_object('burden_cost_base_id', prj_burden_cost_base::find_all(), 'prj_burden_cost_base_id', 'cost_base', ${$class_third}->burden_cost_base_id, '', 'large', 1, '');
    ?>
Exemple #21
0
   <ul class="column five_column inline_list"> 
    <li>
     <?php 
// echo form::text_field('supplier_site_id', $supplier_site->supplier_site_id, '15', '25', '', 'System Number', 'supplier_site_id', $readonly)
?>
     <?php 
echo $f->l_select_field_from_array('supplier_site_id', supplier_site::find_all_sitesOfSupplier_array($supplier->supplier_id), $supplier_site->supplier_site_id, 'supplier_site_id', 'action');
?>
     <a name="show" href="form.php?class_name=supplier&<?php 
echo "mode={$mode}";
?>
" class="show document_id supplier_site_id" data-search_field='supplier_site_id'>
      <i class="fa fa-refresh"></i> </a> 
    </li> 
    <li class="hidden"><?php 
echo form::hidden_field('supplier_id', ${$class}->supplier_id);
?>
</li>
    <li><?php 
$f->l_text_field('supplier_site_name', ${$class_second}->supplier_site_name);
?>
    </li>
    <li><?php 
$f->l_text_field('supplier_site_number', ${$class_second}->supplier_site_number);
?>
    </li>
   </ul>
  </div>
  <div id="tabsLine">
   <ul class="tabMain">
    <li><a href="#tabsLine-1"><?php 
<a name="show" href="?ar_customer_bu_id=" class="show ar_customer_bu_id">
      <i class='fa fa-refresh'></i></a> 
    </li>
    <li><label>Customer Id</label><a class='ajax-link' href="form.php?class_name=ar_customer&mode=<?php 
echo $mode;
?>
&ar_customer_id=
                                     <?php 
echo ${$class}->ar_customer_id;
?>
"><?php 
echo ${$class}->ar_customer_id;
?>
</a>
                                     <?php 
echo form::hidden_field('ar_customer_id', ${$class}->ar_customer_id);
?>
    </li>
    <li><?php 
$f->l_text_field_d('org_id');
?>
</li>      
    <li><?php 
$f->l_text_field_dr('org');
?>
</li>      
    <li><?php 
$f->l_text_field_dr('customer_number');
?>
</li>      
    <li><?php 
Exemple #23
0
    ?>
themes/images/add.png"  alt="add new line" /></li>
 								<li class="remove_row_img"><img src="<?php 
    echo HOME_URL;
    ?>
themes/images/remove.png" alt="remove this line" /> </li>
 								<li><input type="checkbox" name="line_id_cb" value="<?php 
    echo htmlentities($sd_so_line->item_description);
    ?>
"></li>           
 								<li><?php 
    echo form::hidden_field('sd_so_header_id', $sd_so_header->sd_so_header_id);
    ?>
</li>
 								<li><?php 
    echo form::hidden_field('tax_code_value', ${$class_second}->tax_code_value);
    ?>
</li>
 							 </ul>
 							</td>
 							<td class="seq_number"><?php 
    echo $count;
    ?>
</td>
 							<td><?php 
    form::text_field_wid2sr('sd_so_line_id');
    ?>
</td>
 							<td><?php 
    echo form::text_field('line_number', ${$class_second}->line_number, '8', '20', 1, 'Auto no', '', $readonly, 'lines_number');
    ?>
 *
 * @copyright   2014 Nishit R. Das
 * @license     https://www.mozilla.org/MPL/2.0/
 * @link        http://inoideas.org
 * @source code https://github.com/inoerp/inoERP
-->

<div id ="form_header"><span class="heading"><?php 
echo gettext('Shipping Control');
?>
</span>
 <form method="post" id="sd_shipping_control"  name="sd_shipping_control">
  <div class="tabContainer">
   <ul class="column header_field">
    <?php 
echo form::hidden_field('sd_shipping_control_id', ${$class}->sd_shipping_control_id);
?>
    <li><?php 
$f->l_select_field_from_object('org_id', org::find_all_inventory(), 'org_id', 'org', ${$class}->org_id, 'org_id', '', 1, $readonly1);
?>
     <a name="show" href="form.php?class_name=sd_shipping_control&<?php 
echo "mode={$mode}";
?>
" class="show document_id sd_shipping_control_id">
      <i class="fa fa-refresh"></i></a> 
    </li>
    <li><?php 
$f->l_checkBox_field_d('rev_enabled');
?>
</li>
    <li><?php 
        ?>
">
                   <td>   
                    <ul class="inline_action">
                     <li class="add_row_detail_img"><i class="fa fa-plus-circle"></i></li>
                     <li class="remove_row_img"><i class="fa fa-minus-circle"> </i></li>
                     <li><input type="checkbox" name="detail_id_cb" value="<?php 
        echo htmlentities($sys_process_flow_action->sys_process_flow_action_id);
        ?>
"></li>           
                     <li><?php 
        echo form::hidden_field('sys_process_flow_line_id', ${$class_second}->sys_process_flow_line_id);
        ?>
</li>
                     <li><?php 
        echo form::hidden_field('sys_process_flow_header_id', ${$class}->sys_process_flow_header_id);
        ?>
</li>
                    </ul>
                   </td>
                   <td><?php 
        form::text_field_wid3sr('sys_process_flow_action_id');
        ?>
</td>
                   <td><?php 
        echo $f->number_field('action_number', ${$class_third}->action_number, '', '', 'detail_number');
        ?>
</td>
                   <td><?php 
        echo $f->select_field_from_array('pf_action_type', sys_process_flow_action::$pf_action_type_a, ${$class_third}->pf_action_type);
        ?>
Exemple #26
0
    ?>
         
      <tr class="hd_svo_actuals<?php 
    echo $count;
    ?>
">
       <td>    
        <ul class="inline_action">
         <li class="add_row_img"><i class="fa fa-plus-circle"></i></li>
         <li class="remove_row_img"><i class="fa fa-minus-circle"></i></li>
         <li><input type="checkbox" name="line_id_cb" value="<?php 
    echo htmlentities($hd_svo_actuals->hd_svo_actuals_id);
    ?>
"></li>           
         <li><?php 
    echo form::hidden_field('hd_svo_header_id', ${$class}->hd_svo_header_id);
    ?>
</li>
        </ul>
       </td>
       <td><?php 
    form::text_field_wid4sr('hd_svo_actuals_id');
    ?>
</td>
       <td><?php 
    echo $f->select_field_from_array('source', hd_svo_actuals::$source_a, ${$class_fourth}->source, '', 'medium');
    ?>
</td>
       <td><?php 
    echo $f->select_field_from_object('billing_type', hd_service_type_header::billing_type(), 'option_line_code', 'option_line_value', ${$class_fourth}->billing_type, '', 'medium', '', 1);
    ?>
    }
    if (empty($ec_user_cart->ec_cart_id)) {
        $ec_user_cart->ec_cart_id = null;
    }
    $category = category::find_by_reference_table_and_id('ec_product', $ec_user_cart->ec_product_id);
    ?>
         
         <tr class="ec_cart<?php 
    echo $count;
    ?>
">
          <td><?php 
    echo $count;
    echo form::hidden_field('ec_cart_id', $ec_user_cart->ec_cart_id);
    echo form::hidden_field('user_id', $user_id_h);
    echo form::hidden_field('ec_product_id', $ec_user_cart->ec_product_id);
    echo $f->hidden_field('currency', $curr);
    echo $f->hidden_field('tax_code', $tax_code);
    echo $f->hidden_field('sales_price', $ec_user_cart->sales_price);
    echo $f->hidden_field('product_name', $product_name);
    ?>
          </td>
          <td><?php 
    echo $product_name;
    ?>
</td>
          <td class="long-td"><?php 
    echo '<a href="' . HOME_URL . 'product.php?ec_product_id=' . $ec_user_cart->ec_product_id . '" title="' . $product_description . '">' . substr($product_description, 0, 100) . '</a>';
    ?>
</td>
          <td><?php 
Exemple #28
0
    ?>
         
          <tr class="wip_wo_bom<?php 
    echo $count;
    ?>
">
           <td>    
            <ul class="inline_action">
             <li class="add_row_img"><i class="fa fa-plus-circle"></i></li>
             <li class="remove_row_img"><i class="fa fa-minus-circle"></i></li>
             <li><input type="checkbox" name="line_id_cb" value="<?php 
    echo htmlentities($wip_wo_bom->wip_wo_bom_id);
    ?>
"></li>           
             <li><?php 
    echo form::hidden_field('wip_wo_header_id', ${$class}->wip_wo_header_id);
    ?>
</li>
            </ul>
           </td>
           <td><?php 
    form::text_field_wid4s('wip_wo_bom_id');
    ?>
</td>
           <td><?php 
    form::text_field_wid4sm('bom_sequence');
    ?>
</td>
           <td><?php 
    echo !empty($routing_line_details) ? form::select_field_from_object('routing_sequence', $routing_line_details, 'routing_sequence', 'routing_sequence', ${$class_fourth}->routing_sequence, 'routing_sequence') : form::text_field_wid4s('routing_sequence');
    ?>
Exemple #29
0
         </tr>
         <?php 
        $linecount++;
    }
} else {
    foreach ($user_role_object as $form_line_array) {
        ?>
         <tr class="user_role<?php 
        echo $linecount;
        ?>
">
          <td>   
           <ul class="inline_action">
            <li class="remove_row_img">No Access </li>
            <li><?php 
        echo form::hidden_field('user_id', ${$class}->user_id);
        ?>
</li>
           </ul>
          </td>
          <td><?php 
        echo $form_line_array->user_role_id;
        ?>
</td>
          <td><?php 
        echo $form_line_array->role_code;
        ?>
  </td>
         </tr>
         <?php 
        $linecount++;
Exemple #30
0
        }
        ?>
                   <tr class="sys_process_flow_action<?php 
        echo $count . '-' . $detailCount;
        ?>
">
                    <td>   
                     <ul class="inline_action">
                      <li class="add_row_detail_img"><i class="fa fa-plus-circle"></i></li>
                      <li class="remove_row_img"><i class="fa fa-minus-circle"></i></li>
                      <li><input type="checkbox" name="detail_id_cb" value="<?php 
        echo htmlentities($sys_process_flow_action->sys_spd_process_flow_action_id);
        ?>
"></li>           
                      <li><?php 
        echo form::hidden_field('sys_spd_header_id', ${$class}->sys_spd_header_id);
        ?>
</li>
                     </ul>
                    </td>
                    <td><?php 
        form::text_field_wid3sr('sys_spd_process_flow_action_id');
        ?>
</td>
                    <td><?php 
        form::text_field_wid3sr('sys_process_flow_line_id');
        ?>
</td>
                    <td><?php 
        echo $f->number_field('action_number', ${$class_third}->action_number, '', '', 'detail_number');
        ?>