<div id="form_all"><span class="heading">Document Sequence</span>
 <div id="form_headerDiv">
  <div id="form_serach_header">
   <label>Business Org :</label>
   <?php 
echo form::select_field_from_object('org_id', org::find_all_business(), 'org_id', 'org', $org_id_h, 'org_id', $readonly1);
?>
   <a name="show" href="form.php?class_name=sys_document_sequence&<?php 
echo "mode={$mode}";
?>
" class="show document_id sys_document_sequence_id"><img src="<?php 
echo HOME_URL;
?>
themes/images/refresh.png"/></a> 
  </div>
  <form action=""  method="post" id="sys_document_sequence_line"  name="document_sequence_line">
   <div id="tabsLine">
    <div id ="form_line" class="sys_document_sequence">
     <ul class="tabMain">
      <li><a href="#tabsLine-1">Basic </a></li>
      <li><a href="#tabsLine-2">Future </a></li>
     </ul>
     <div class="tabContainer"> 

      <div id="tabsLine-1" class="tabContent">
       <table class="form_table">
        <thead> 
         <tr>
          <th>Action</th>
          <th>Seq#</th>
          <th>Id</th>
echo HOME_URL;
?>
form.php?class_name=ar_transaction_all_v&amp;router=pdf_print&amp;ar_transaction_header_id=<?php 
echo !empty(${$class}->ar_transaction_header_id) ? ${$class}->ar_transaction_header_id : "";
?>
" >
         <?php 
echo __('Print Transaction');
?>
</a></li>
       <li id="document_status"><label><?php 
echo __('Change Status');
?>
</label>
        <?php 
echo form::select_field_from_object('approval_status', ar_transaction_header::ar_approval_status(), 'option_line_code', 'option_line_value', $ar_transaction_header->approval_status, 'set_approval_status', $readonly, '', '');
?>
       </li>
      </ul>

      <div id="comment" class="show_comments">
      </div>
     </div>
    </div>

   </div>

  </div>
 </form>
</div>
form::number_field_drs('available_quantity');
?>
            </li>
            <li><label>Move Qty: </label>
             <?php 
form::number_field_dm('move_quantity');
?>
            </li>
            <li><label>To Seq : </label>
             <?php 
echo !empty($routing_line_details) ? form::select_field_from_object('to_routing_sequence', $routing_line_details, 'routing_sequence', 'routing_sequence', ${$class}->to_routing_sequence, 'to_routing_sequence', $readonly, '', '', 1) : form::text_field_ds('from_routing_sequence');
?>
            </li>
            <li><label>To Step : </label>
             <?php 
echo form::select_field_from_object('to_operation_step', bom_routing_header::wip_move_step(), 'option_line_code', 'option_line_value', ${$class}->to_operation_step, 'to_operation_step', $readonly, '', '', 1);
?>
            </li>
           </ul>
           <!--end of tab1 div three_column-->
          </div> 
          <!--end of tab1-->
          <div id="tabsLine-2" class="tabContent">
           <div class="first_rowset"> 
            <ul class="column five_column"> 
             <li><label>Reason : </label> <?php 
form::text_field_d('reason');
?>
  </li>
             <li><label>Reference : </label> <?php 
form::text_field_d('reference');
form::text_field_drm('item_id_m');
?>
						</li>
						<li><label>Item Number(2) : </label>
						 <?php 
form::text_field_dm('item_number');
?>
						</li>
						<li><label>Description: </label>
						 <?php 
form::text_field_widr('item_description');
?>
						</li>
						<li><label>UOM : </label>
						 <?php 
echo form::select_field_from_object('uom', uom::find_all(), 'uom_id', 'uom_name', ${$class}->uom, 'uom');
?>
						</li>
					 </ul>
				 </div>
				 <div id="tabsHeader-2" class="tabContent">
					<div> 
					 <ul class="column header_field">
						<li><label>Alternate Bom : </label>
						 <?php 
echo form::text_field_d('alternate_bom');
?>
						</li>
						<li><label>Revision : </label>
						 <?php 
form::text_field_dm('bom_revision');
Example #5
0
    } else {
        $revision_name_a = array();
    }
    echo $f->select_field_from_object('component_revision', $revision_name_a, 'revision_name', 'revision_name', ${$class_fourth}->component_revision, '', 'small');
    ?>
</td>
           <td><?php 
    echo $f->text_field('component_description', ${$class_fourth}->component_description, '20', '', 'item_description', '', $readonly);
    ?>
</td>
           <td><?php 
    echo $f->select_field_from_object('component_uom', uom::find_all(), 'uom_id', 'uom_name', ${$class_fourth}->component_uom, '', 'uom_id', '', $readonly);
    ?>
</td>
           <td><?php 
    echo form::select_field_from_object('usage_basis', bom_header::bom_charge_basis(), 'option_line_code', 'option_line_value', ${$class_fourth}->usage_basis, '', $readonly, 'usage_basis', '', 1);
    ?>
</td>
           <td><?php 
    form::number_field_wid4sm('usage_quantity');
    ?>
</td>
          </tr>
          <?php 
    $count = $count + 1;
}
?>
        </tbody>
       </table>
      </div>
      <div id="tabsLine-5" class="tabContent">
echo form::select_field_from_object('from_subinventory_id', subinventory::find_all_of_org_id(${$class}->org_id), 'subinventory_id', 'subinventory', ${$class}->from_subinventory_id, '', $readonly, 'subinventory_id');
?>
         </td>
         <td>
          <?php 
echo form::select_field_from_object('from_locator_id', locator::find_all_of_subinventory(${$class}->from_subinventory_id), 'locator_id', 'locator', ${$class}->from_locator_id, '', $readonly, 'locator_id');
?>
         </td>
         <td>
          <?php 
echo form::select_field_from_object('to_subinventory_id', subinventory::find_all_of_org_id(${$class}->org_id), 'subinventory_id', 'subinventory', ${$class}->to_subinventory_id, '', $readonly, 'subinventory_id');
?>
         </td>
         <td>
          <?php 
echo form::select_field_from_object('to_locator_id', locator::find_all_of_subinventory(${$class}->to_subinventory_id), 'locator_id', 'locator', ${$class}->to_locator_id, '', $readonly, 'locator_id');
?>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <div id="tabsLine-3" class="tabContent">
      <table class="form_line_data_table">
       <thead> 
        <tr>
         <th><?php 
echo gettext('Document Type');
?>
</th>
         <th><?php 
          </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');
    ?>
</td>
         <td><?php 
    echo form::select_field_from_object('resource_id', bom_resource::find_all(), 'bom_resource_id', 'resource', ${$class_third}->resource_id, '', 1, 'resource_id', '', 1);
    ?>
</td>
         <td><?php 
    form::number_field_wids('transaction_quantity');
    ?>
</td>
         <td><?php 
    form::number_field_wid3sr('required_quantity');
    ?>
</td>
         <td><?php 
    form::number_field_wid3sr('applied_quantity');
    ?>
</td>
         <td><?php 
echo HOME_URL;
?>
themes/images/serach.png">
          Address Id</label><?php 
echo form::text_field('address_id', $address->address_id, '10', '', '', 'System number', 'address_id', $readonly);
?>
         <a name="show" href="form.php?class_name=address&<?php 
echo "mode={$mode}";
?>
" class="show document_id address_id"><img src="<?php 
echo HOME_URL;
?>
themes/images/refresh.png"/></a> 
        </li>
        <li><label>Type</label><?php 
echo form::select_field_from_object('type', address::address_types(), 'option_line_code', 'option_line_code', $address->type, 'type', $readonly);
?>
    </li>
        <li><label>Address Name</label><?php 
echo form::text_field('address_name', $address->address_name, '20', '', '', 'Enter a valid address name', 'address_name', $readonly);
?>
    </li>
        <li><label><img class="tax_region_id select_popup clickable" src="<?php 
echo HOME_URL;
?>
themes/images/serach.png">
          Tax Region</label><?php 
$f->text_field_d('tax_region_name');
?>
</li>
        <li><label>Description</label><?php 
 </div>
    </div>

    <div id="tabsHeader-8" class="tabContent">
     <div> 
      <ul class="column header_field">
       <li><?php 
$f->l_select_field_from_array('transaction_action', ${$class}->action_a, '', 'transaction_action', '', '', $readonly);
?>
       </li>
       <li id="document_status"><label><?php 
echo gettext('Change Status');
?>
</label>
        <?php 
echo form::select_field_from_object('approval_status', hd_service_contract_header::ar_approval_status(), 'option_line_code', 'option_line_value', $hd_service_contract_header->approval_status, 'set_approval_status', $readonly, '', '');
?>
       </li>
      </ul>

      <div id="comment" class="show_comments">
      </div>
     </div>
    </div>

   </div>

  </div>
 </form>
</div>
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_object('sourcing_type', po_sourcing_rule_line::po_sourcing_type(), 'option_line_code', 'option_line_value', ${$class_second}->sourcing_type, 'sourcing_type', '', 1, $readonly);
    ?>
</td>
         <td><?php 
    $f->text_field_d2s('rank');
    ?>
</td>
         <td><?php 
    $f->text_field_d2s('allocation');
    ?>
</td>
         <td><?php 
    echo form::select_field_from_object('source_from_org_id', org::find_all_inventory(), 'org_id', 'org', ${$class_second}->source_from_org_id, 'source_from_org_id', $readonly);
    ?>
</td>
         <td><?php 
    $f->text_field_wid2sr('supplier_id');
    ?>
</td>
         <td><?php 
    $f->text_field_wid2('supplier_name', 'select_supplier_name');
    ?>
          <img src="<?php 
    echo HOME_URL;
    ?>
themes/images/serach.png" class="select_supplier_name select_popup clickable"></td>
         <td><?php 
    echo $supplier_site_name_statement;
       <div class="panel-body">
        <ul class="column header_field"> 
         <li><label><?php 
echo __('From Seq');
?>
</label>
          <?php 
echo !empty($routing_line_details) ? form::select_field_from_object('from_routing_sequence', $routing_line_details, 'routing_sequence', 'routing_sequence', ${$class}->from_routing_sequence, 'from_routing_sequence', $readonly, '', '', 1) : form::text_field_ds('from_routing_sequence');
?>
         </li>
         <li><label><?php 
echo __('To Seq');
?>
</label>
          <?php 
echo !empty($routing_line_details) ? form::select_field_from_object('to_routing_sequence', $routing_line_details, 'routing_sequence', 'routing_sequence', ${$class}->to_routing_sequence, 'to_routing_sequence', $readonly, '', '', 1) : form::text_field_ds('from_routing_sequence');
?>
         </li>
         <li><label><?php 
echo __('Available Qty');
?>
</label>
          <?php 
form::number_field_drs('available_quantity');
?>
         </li>
         <li><label><?php 
echo __('From Step');
?>
 </label>
          <?php 
Example #12
0
    ?>
         
        <tr class="sd_delivery_line<?php 
    echo $count;
    ?>
">
         <td><?php 
    echo form::select_field_from_object('weight_uom_id', uom::find_all(), 'uom_id', 'uom_name', ${$class_second}->weight_uom_id, 'weight_uom_id', $readonly);
    ?>
</td>
         <td><?php 
    echo form::number_field_wid2('total_weight');
    ?>
</td>
         <td><?php 
    echo form::select_field_from_object('volume_uom_id', uom::find_all(), 'uom_id', 'uom_name', ${$class_second}->volume_uom_id, 'volume_uom_id', $readonly);
    ?>
</td>
         <td><?php 
    echo form::number_field_wid2('total_volume');
    ?>
</td>
        </tr>
        <?php 
    $count = $count + 1;
}
?>
      </tbody>
     </table>
    </div>
   </div>
Example #13
0
         
            <tr class="gl_calendar<?php 
    echo $count;
    ?>
">
             <td>
              <?php 
    echo ino_inline_action(${$class}->gl_calendar_id, array('option_line_code' => $option_line_code_h));
    ?>
             </td>
             <td><?php 
    form::number_field_drs('gl_calendar_id');
    ?>
</td>
             <td><?php 
    echo form::select_field_from_object('calendar_type', gl_calendar::period_types(), 'option_line_code', 'option_line_value', ${$class}->calendar_type, '', $readonly);
    ?>
</td>
             <td><?php 
    form::text_field_widm('name_prefix');
    ?>
</td>
             <td class="yearPicker"><?php 
    form::number_field_wid('year');
    ?>
</td>
             <td><?php 
    form::number_field_wids('quarter');
    ?>
</td>
             <td><?php 
Example #14
0
               <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($uom->uom_id);
        ?>
"></li>           
              </ul>
             </td>
             <td><?php 
        form::text_field_widsr('uom_id');
        ?>
</td>
             <td><?php 
        form::text_field_wid('uom_name');
        ?>
</td>
             <td><?php 
        echo form::select_field_from_object('class', uom::uom_class(), 'option_line_code', 'option_line_code', ${$class}->class, 'class', $readonly);
        ?>
</td>
             <td><?php 
        form::text_field_wid('description');
        ?>
</td>
             <td><?php 
        $f->checkBox_field_d('primary_cb');
        ?>
</td>
             <td><?php 
        form::text_field_wid('ef_id');
        ?>
</td>
             <td><?php 
Example #15
0
    echo $count;
    ?>
">
          <td>
           <?php 
    echo ino_inline_action($gl_ledger_balancing_values->gl_ledger_balancing_values_id, array('gl_ledger_id' => ${$class}->gl_ledger_id));
    ?>
          </td>
          <td><?php 
    form::number_field_wid2sr('gl_ledger_balancing_values_id');
    ?>
</td>
          <td><?php 
    $svgl = new sys_value_group_line();
    $descp = ['code_value', 'description'];
    echo form::select_field_from_object('balancing_values', $svgl->findBy_parentId($value_group_headerid), 'code', $descp, ${$class_second}->balancing_values, '', $readonly);
    ?>
</td>

         </tr>
         <?php 
    $count = $count + 1;
}
?>
       </tbody>
      </table>
     </div>
     <div id="tabsLine-2" class="tabContent">
     </div>
    </form>
   </div>
Example #16
0
      <?php 
echo !empty($assigned_bu_statement) ? $assigned_bu_statement : "";
?>
     </div>
    </div>
    <div id="tabsHeader-3" class="tabContent">
     <div> 
      <ul class="column five_column">
       <li><label>Customer Profile : </label>
        <?php 
echo form::text_field_d('profile_name');
?>
       </li>
       <li><label>Credit Class : </label>
        <?php 
echo form::select_field_from_object('customer_credit_class', ar_customer::customer_credit_class(), 'option_line_code', 'option_line_value', ${$class}->customer_credit_class, 'customer_credit_class', $readonly, '', '');
?>
       </li>
      </ul>
     </div>
    </div>
    <div id="tabsHeader-4" class="tabContent">
     <div class="header_address"><?php 
$f->address_field_d('bill_to_id', 1, 'customer_header');
?>
</div>
     <div class="shipto_address"><?php 
$f->address_field_d('ship_to_id', 1, 'customer_header');
?>
</div>
    </div>
Example #17
0
    ?>
</td>
           <td><?php 
    form::text_field_d2('priority');
    ?>
</td>
                      <td><?php 
    form::text_field_d2('mapper1');
    ?>
</td>
           <td><?php 
    form::text_field_d2('mapper2');
    ?>
</td>
           <td><?php 
    echo form::select_field_from_object('value_group_id', sys_value_group_header::find_all(), 'sys_value_group_header_id', 'value_group', ${$class_second}->value_group_id, '', $readonly, '', '');
    ?>
</td>
           <td class="add_detail_values">
            <i class="fa fa-arrow-circle-down add_detail_values_img"></i>
            <?php 
    $option_line_id = $option_line->option_line_id;
    if (!empty($option_line_id)) {
        $option_detail_object = option_detail::find_by_option_line_id($option_line_id);
    } else {
        $option_detail_object = array();
    }
    if (count($option_detail_object) == 0) {
        $option_detail = new option_detail();
        $option_detail_object = array();
        array_push($option_detail_object, $option_detail);
Example #18
0
    $org_id = $_GET['org_id'];
    $customer_bu_assigment = mdm_bank_bu::find_by_orgId_customerId($mdm_bank_id, $org_id);
    echo '</div>';
}
if (!empty($_GET['mdm_bank_id']) && ($_GET['find_all_sites'] = 1)) {
    echo '<div id="json_customer_sites_all">';
    $mdm_bank_id = $_GET['mdm_bank_id'];
    if (!empty($_GET['org_id'])) {
        $org_id = $_GET['org_id'];
        $acs = new mdm_bank_site();
        if (mdm_bank_bu::validate_customerBuAssignment($mdm_bank_id, $org_id) == 1) {
            echo '<div id="json_customerSites_find_all">' . form::select_field_from_object('mdm_bank_site_id', $acs->findBy_parentId($mdm_bank_id), 'mdm_bank_site_id', 'customer_site_name', '', 'mdm_bank_site_id') . '</div>';
            $arcbu = new mdm_bank_bu();
            $arcbu->mdm_bank_id = $mdm_bank_id;
            $arcbu->org_id = $org_id;
            $arcbu_i = $arcbu->findBy_orgId_customerId();
            echo "<div id='receivable_ac_id'>" . coa_combination::find_by_id($arcbu_i->receivable_ac_id)->combination . '</div>';
        } else {
            echo "<div class=\"errorMsg\">Customer BU Assignment doesn't exists</div>";
        }
    } else {
        echo form::select_field_from_object('mdm_bank_site_id', mdm_bank_site::find_all_sitesOfCustomer($mdm_bank_id), 'mdm_bank_site_id', 'customer_site_name', '', 'mdm_bank_site_id');
    }
    echo '</div>';
}
//customer site details
if (!empty($_GET['mdm_bank_site_id']) && ($_GET['find_site_details'] = 1)) {
    $customer_site_details = mdm_bank_site::find_by_id($_GET['mdm_bank_site_id']);
    echo header('Content-Type: application/json');
    echo json_encode($customer_site_details);
}
">
          <td>
           <?php 
    echo ino_inline_action(${$class_third}->bom_overhead_rate_assignment_id, array('bom_overhead_id' => ${$class}->bom_overhead_id));
    ?>
          </td>
          <td><?php 
    form::text_field_wid3('bom_overhead_rate_assignment_id');
    ?>
</td>
          <td><?php 
    echo $f->select_field_from_object('bom_cost_type', bom_cost_type::find_all(), 'cost_type_code', 'cost_type', ${$class_third}->bom_cost_type, '', '', 1, $readonly);
    ?>
</td>
          <td><?php 
    echo form::select_field_from_object('default_basis', bom_header::bom_charge_basis(), 'option_line_code', 'option_line_value', ${$class_third}->default_basis, '', $readonly, 'default_basis');
    ?>
 </td>
          <td><?php 
    form::text_field_wid3('rate');
    ?>
</td>
         </tr>
         <?php 
    $count = $count + 1;
}
?>
       </tbody>
      </table>
     </form>
    </div>
					<li><label><img class="fp_mrp_exception select_popup" src="<?php 
echo HOME_URL;
?>
themes/images/serach.png">
						MRP Exception Id :</label> 
					 <?php 
echo form::text_field('fp_mrp_exception_id', $fp_mrp_exception->fp_mrp_exception_id, '10', '', '', 'System number', 'fp_mrp_exception_id', $readonly);
?>
					 <a name="show" href="form.php?class_name=fp_mrp_exception" class="show fp_mrp_exception_id"><img src="<?php 
echo HOME_URL;
?>
themes/images/refresh.png"/></a> 
					</li>
					<li><label>Type :</label> 
					 <?php 
echo form::select_field_from_object('exception_type', fp_mrp_exception::mrp_exception_types(), 'option_line_code', 'option_line_value', ${$class}->exception_type, '', $readonly);
?>
					</li>
					<li><label>Organization :</label> 
					 <?php 
$f->text_field_d('org');
?>
					</li>
					<li><label>MRP :</label> 
					 <?php 
$f->text_field_d('mrp_name');
?>
					</li>
					<li><label>Ref Type :</label> 
					 <?php 
$f->text_field_d('reference_type');
Example #21
0
    ?>
</td>
         <td><?php 
    form::text_field_wid2('yield');
    ?>
</td>
         <td><?php 
    echo form::select_field_from_object('wip_supply_type', bom_header::wip_supply_type(), 'option_line_code', 'option_line_value', ${$class_second}->wip_supply_type, '', $readonly, '', '', '');
    ?>
</td>
         <td><?php 
    echo form::select_field_from_object('supply_sub_inventory', subinventory::find_all_of_org_id(${$class}->org_id), 'subinventory_id', 'subinventory', ${$class_second}->supply_sub_inventory, '', $readonly, 'subinventory_id', '', '');
    ?>
</td>
         <td><?php 
    echo form::select_field_from_object('supply_locator', locator::find_all_of_subinventory(${$class_second}->supply_sub_inventory), 'locator_id', 'locator', ${$class_second}->supply_locator, '', $readonly, 'locator_id', '', '');
    ?>
</td>
        </tr>
        <?php 
    $count = $count + 1;
}
?>
      </tbody>
      <!--                  Showing a blank form for new entry-->

     </table>
    </div>
   </div>
  </div>
 </form>
$sys_value_group_line_object_ai = new ArrayIterator($sys_value_group_line_object);
$sys_value_group_line_object_ai->seek($position);
while ($sys_value_group_line_object_ai->valid()) {
    $sys_value_group_line = $sys_value_group_line_object_ai->current();
    ?>
         
         <tr class="sys_value_group_line<?php 
    echo $count;
    ?>
">
          <td><?php 
    $f->seq_field_d($count);
    ?>
</td>
          <td><?php 
    echo form::select_field_from_object('account_qualifier', coa::coa_account_types(), 'option_line_code', 'option_line_value', ${$class_second}->account_qualifier, 'account_qualifier', $readonly);
    ?>
</td>
          <td><?php 
    echo form::checkBox_field_d2('allow_budgeting_cb');
    ?>
</td>
          <td><?php 
    echo form::checkBox_field_d2('allow_posting_cb');
    ?>
</td>
         </tr>
         <?php 
    $sys_value_group_line_object_ai->next();
    if ($sys_value_group_line_object_ai->key() == $position + $per_page) {
        break;
Example #23
0
        echo form::select_field_from_object('type', subinventory::subinventory_type(), 'option_line_code', 'option_line_code', ${$class}->type, 'type', $readonly);
        ?>
             </td>
             <td>
              <?php 
        form::text_field_wid('subinventory');
        ?>
             </td>
             <td>
              <?php 
        form::text_field_wid('description');
        ?>
             </td>
             <td>  
              <?php 
        echo form::select_field_from_object('locator_control', subinventory::locator_control(), 'option_line_code', 'option_line_code', ${$class}->locator_control, 'locator_control', $readonly);
        ?>
	 
             </td>
             <td>
              <?php 
        echo form::checkBox_field('allow_negative_balance_cb' . $count, ${$class}->allow_negative_balance_cb, 'allow_negative_balance_cb', $readonly);
        ?>
             </td>
             <td><?php 
        form::text_field_wids('default_cost_group');
        ?>
</td>
            </tr>
            <?php 
        $count = $count + 1;
           <?php 
    echo ino_inline_action(${$class_second}->bom_department_resource_assignment_id, array('bom_department_id' => ${$class}->bom_department_id));
    ?>
          </td>
          <td><?php 
    $f->text_field_wid2sr('bom_department_resource_assignment_id');
    ?>
</td>
          <td>
           <?php 
    echo form::select_field_from_object('cost_type_id', bom_cost_type::find_all(), 'bom_cost_type_id', 'cost_type', ${$class_second}->cost_type_id, '', $readonly, 'cost_type_id');
    ?>
          </td>
          <td>
           <?php 
    echo form::select_field_from_object('resource_id', bom_resource::find_all(), 'bom_resource_id', 'resource', ${$class_second}->resource_id, '', $readonly, 'resource_id');
    ?>
          </td>
          <td><?php 
    form::number_field_wid2s('efficiency');
    ?>
</td>
          <td><?php 
    form::number_field_wid2s('utilization');
    ?>
</td>
          <td><?php 
    form::number_field_wid2s('no_of_units');
    ?>
</td>
         </tr>
Example #25
0
themes/images/serach.png" class="sd_so_header_id select_popup">
							 SO Header Id</label><?php 
echo form::text_field('sd_so_header_id', $sd_so_header->sd_so_header_id, '15', '25', '', 'System Number', 'sd_so_header_id', $readonly1);
?>
<a name="show" href="form.php?class_name=sd_so_header" class="show sd_so_header_id">
							 <img src="<?php 
echo HOME_URL;
?>
themes/images/refresh.png"/></a> 
						 </li>
						 <li><label>SO Number</label><?php 
echo $f->text_field_d('so_number', 'primary_column2');
?>
</li>
						 <li><label>BU Name(1)</label><?php 
echo form::select_field_from_object('bu_org_id', org::find_all_business(), 'org_id', 'org', $sd_so_header->bu_org_id, 'bu_org_id', $readonly1, '', '');
?>
						 </li>
						 <li><label>Document Type(2) </label>
							<?php 
echo $f->select_field_from_object('document_type', sd_document_type::find_all_header_levels(), 'sd_document_type_id', 'document_type_name', $sd_so_header->document_type, 'document_type', 'medium', 1, $readonly1);
?>
						 </li>
						 <li><?php 
echo $f->hidden_field_withId('ar_customer_id', ${$class}->ar_customer_id);
?>
							<label class="auto_complete"><img src="<?php 
echo HOME_URL;
?>
themes/images/serach.png" class="ar_customer_id select_popup clickable">
							 Customer Name</label> <?php 
Example #26
0
    
           </td>
           <td><?php 
    $f->seq_field_d($count);
    ?>
</td>
           <td><?php 
    form::number_field_drs('mdm_tax_code_id');
    ?>
</td>
           <td><?php 
    form::text_field_widm('tax_code');
    ?>
</td>
           <td><?php 
    echo form::select_field_from_object('tax_type', mdm_tax_code::tax_type(), 'option_line_code', 'option_line_value', ${$class}->tax_type, '', $readonly);
    ?>
</td>
           <td><?php 
    form::text_field_wid('description');
    ?>
</td>
           <td><?php 
    echo $f->select_field_from_array('in_out', mdm_tax_code::$in_out_a, ${$class}->in_out, 'in_out', '', '', $readonly, $readonly1);
    ?>
</td>
           <td><?php 
    echo $f->select_field_from_array('dr_cr', mdm_tax_code::$dr_cr_a, ${$class}->dr_cr, 'dr_cr', '', '', $readonly, $readonly1);
    ?>
</td>
           <td><?php 
       'transaction_type_id' => $$class->transaction_type_id));
      ?>
     </td>
     <td>
      <?php echo $f->text_field_dsr('inv_transaction_id', 'lineId'); ?>
     </td>
     <td><?php $f->text_field_widsr('item_id_m'); ?></td>
     <td><?php
      $f->val_field_widm('item_number', 'item', 'item_number', '', 'vf_select_item_number');
      echo $f->hidden_field_withCLass('transactable_cb', '1', 'popup_value');
      ?>
      <i class="generic g_select_item_number select_popup clickable fa fa-search" data-class_name="item"></i></td>
     <td><?php $f->text_field_widsr('revision_name'); ?></td>
     <td><?php $f->text_field_wid('item_description'); ?></td>
     <td>
      <?php echo form::select_field_from_object('uom_id', uom::find_all(), 'uom_id', 'uom_name', $$class->uom_id, 'uom_id', $readonly); ?>
     </td>
     <td><?php form::text_field_widsm('quantity'); ?></td>
     <td><?php echo $f->checkBox_field('kit_cb', $$class->kit_cb, '', 'dontCopy'); ?></td>
     <td> <a class="popup popup-form view-item-config medium" href="form.php?class_name=bom_config_header&mode=9&window_type=popup"> <i class="fa fa-edit"></i></a></td>
     <td><?php $f->text_field_widsr('bom_config_header_id'); ?></td>
    </tr>
   </tbody>
  </table>
 </div>
 <div id="tabsLine-2" class="tabContent">
  <table class="form_line_data_table">
   <thead>
   <th><?php echo gettext('From SubInv') ?></th>
   <th><?php echo gettext('From Locator') ?></th>
   <th><?php echo gettext('To SubInv') ?></th>
Example #28
0
        ?>
</td>
                    <td><?php 
        form::number_field_wid3s('assigned_units');
        ?>
</td>
                    <td><?php 
        echo form::checkBox_field('twenty_four_hr_cb', ${$class_third}->twenty_four_hr_cb);
        ?>
</td>
                    <td><?php 
        echo form::checkBox_field('standard_rate_cb', ${$class_third}->standard_rate_cb);
        ?>
</td>
                    <td><?php 
        echo form::select_field_from_object('charge_type', bom_resource::charge_type(), 'option_line_code', 'option_line_value', ${$class_third}->charge_type, '', $readonly, '', '', 1);
        ?>
</td>
                   </tr>
                   <?php 
        $detailCount++;
    }
    ?>
                 </tbody>
                </table>
               </div>
               <div id="tabsDetail-2-<?php 
    echo $count;
    ?>
" class="tabContent">
Example #29
0
       echo $f->hidden_field_withCLass('purchased_cb', '1', 'popup_value');
       echo $f->hidden_field('processing_lt', '');
       ?>
       <i class="generic g_select_item_number select_popup clickable fa fa-search" data-class_name="item"></i></td>
      <td><?php
       if (!empty($$class_second->item_id_m) && !empty($$class_second->receving_org_id)) {
        $revision_name_a = inv_item_revision::find_by_itemIdM_orgId($$class_second->item_id_m, $$class_second->receving_org_id);
       } else {
        $revision_name_a = array();
       }
       echo $f->select_field_from_object('revision_name', $revision_name_a, 'revision_name', 'revision_name', $$class_second->revision_name, '', 'small');
       ?></td>
      <td><?php form::text_field_wid2('item_description'); ?></td>
      <td><?php echo $f->number_field('line_quantity', $$class_second->line_quantity, '', '', 'allow_change'); ?></td>
      <td><?php
       echo form::select_field_from_object('uom_id', uom::find_all(), 'uom_id', 'uom_name', $$class_second->uom_id, '', '', 'uom_id');
       ?></td>
      <td class="add_detail_values"><i class="fa fa-arrow-circle-down add_detail_values_img"></i><?php include 'detail/po_detail_template.php'; ?>          </td>
     </tr>
     <?php
     $count = $count + 1;
    }
    ?>
   </tbody>
  </table>
 </div>
 <div id="tabsLine-2" class="scrollElement tabContent">
  <table class="form_line_data_table">
   <thead> 
    <tr>
     <th><?php echo gettext('Seq') ?>#</th>
Example #30
0
													</ul>
												 </td>
												 <td><?php 
        form::text_field_wid3sr('po_detail_id');
        ?>
</td>
												 <td><?php 
        form::number_field_wid3s('shipment_number', 'details_number');
        ?>
</td>
												 <!--<td><?php 
        // echo form::text_field('shipment_number', $$class_third->shipment_number, '8', '20', 1, 'Auto no', '', $readonly, 'details_number');
        ?>
</td>-->
												 <td><?php 
        echo form::select_field_from_object('ship_to_inventory', org::find_all_inventory(), 'org_id', 'org', ${$class_third}->ship_to_inventory, '', $readonly);
        ?>
</td>
												 <td><?php 
        form::text_field_wid3('ship_to_location_id');
        ?>
</td>
												 <td><?php 
        form::number_field_wid3s('quantity');
        ?>
</td>
												 <td><?php 
        echo form::date_fieldFromToday('need_by_date', ino_date(${$class_third}->need_by_date));
        ?>
</td>
												 <td><?php