Example #1
0
            <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':
            echo "<td>";
            echo $f->select_field_from_object('level_name', $org->findAll_business(), 'org_id', 'org', ${$class_second}->level_name, '', '', 1) . "</td><td>";
            break;
        case 'INVENTORY':
            echo "<td>";
            echo $f->select_field_from_object('level_name', $org->findAll_inventory(), 'org_id', 'org', ${$class_second}->level_name, '', '', 1) . "</td><td>";
$fa_depreciation_method_rate_object_ai = new ArrayIterator($fa_depreciation_method_rate_object);
$fa_depreciation_method_rate_object_ai->seek($position);
while ($fa_depreciation_method_rate_object_ai->valid()) {
    $fa_depreciation_method_rate = $fa_depreciation_method_rate_object_ai->current();
    ?>
         
         <tr class="fa_depreciation_method_rate<?php 
    echo $count;
    ?>
">
          <td><?php 
    echo ino_inline_action(${$class}->fa_depreciation_method_id, array('fa_depreciation_method_rate_id' => $fa_depreciation_method_rate->fa_depreciation_method_rate_id));
    ?>
          </td>
          <td><?php 
    form::number_field_wid2sr('fa_depreciation_method_rate_id');
    ?>
</td>
          <td><?php 
    form::number_field_wid2('year');
    ?>
</td>
          <td><?php 
    form::number_field_wid2('period');
    ?>
</td>
          <td><?php 
    form::number_field_wid2('rate');
    ?>
</td>
          <td><?php 
         <td><?php 
    $f->val_field_wid2('transaction_number', 'ap_transaction_header', 'transaction_number', 'supplier_id');
    echo $f->hidden_field_withCLass('ap_transaction_header_id', ${$class_second}->ap_transaction_header_id, 'dont_copy_r');
    echo $f->hidden_field_withCLass('supplier_id', ${$class}->supplier_id, 'popup_value supplier_id');
    ?>
          <i class="generic g_select_ap_transaction_number select_popup clickable fa fa-search" data-class_name="ap_transaction_header"></i></td>
         <td><?php 
    !empty(${$class_second}->ap_payment_line_id) ? form::number_field_wid2sr('amount') : form::number_field_wid2s('amount');
    ?>
</td>
         <td><?php 
    !empty(${$class_second}->ap_payment_line_id) ? form::number_field_wid2sr('exchange_rate') : form::number_field_wid2s('exchange_rate');
    ?>
</td>
         <td><?php 
    !empty(${$class_second}->ap_payment_line_id) ? form::number_field_wid2sr('gl_amount') : form::number_field_wid2s('gl_amount');
    ?>
</td>
         <td><?php 
    $f->text_field_wid2r('invoice_amount', 'header_amount dont_copy_r');
    ?>
</td>
         <td><?php 
    $f->text_field_wid2sr('paid_amount', 'dont_copy_r');
    ?>
</td>
         <td><?php 
    $f->text_field_wid2sr('remaining_amount', 'dont_copy_r');
    ?>
</td>
        </tr>
$pos_barcode_list_line_object_ai->seek($position);
while ($pos_barcode_list_line_object_ai->valid()) {
    $pos_barcode_list_line = $pos_barcode_list_line_object_ai->current();
    ?>
         
          <tr class="pos_barcode_list_line<?php 
    echo $count;
    ?>
">
           <td>
            <?php 
    echo ino_inline_action(${$class_second}->pos_barcode_list_line_id, array('pos_barcode_list_header_id' => ${$class}->pos_barcode_list_header_id));
    ?>
           </td>
           <td><?php 
    form::number_field_wid2sr('pos_barcode_list_line_id');
    ?>
</td>
           <td><?php 
    $f->text_field_wid2('item_number', 'select_item_number');
    ?>
            <i class="select_item_number select_popup clickable fa fa-search"></i></td>
           <td><?php 
    echo $f->number_field('unit_price', ${$class_second}->unit_price, '', '', 'medium');
    ?>
</td>
           <td><?php 
    echo $f->number_field('quantity', ${$class_second}->quantity);
    ?>
</td>
           <td><?php 
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_object('tax_code_id', mdm_tax_code::find_all_outTax_by_bu_org_id(${$class}->bu_org_id), 'mdm_tax_code_id', 'tax_code', ${$class_second}->tax_code_id, '', 'output_tax medium', '', $readonly, '', '', '', 'percentage');
    ?>
</td>
         <td><?php 
    form::number_field_wid2('tax_amount');
    ?>
</td>
         <td><?php 
    form::number_field_wid2sr('gl_inv_line_price');
    ?>
</td>
         <td><?php 
    form::number_field_wid2sr('gl_tax_amount');
    ?>
</td>
         <td><?php 
    $f->text_field_wid2('line_description');
    ?>
</td>
         <td><?php 
    $f->text_field_wid2sr('status');
    ?>
</td>
        </tr>
        <?php 
    $count = $count + 1;
}
?>
Example #6
0
    ?>
</td>
         <td><?php 
    $f->ac_field_wid2('depreciation_account_id');
    ?>
</td>
         <td><?php 
    form::number_field_wid2sr('cost_before_depreciation');
    ?>
</td>
         <td><?php 
    form::number_field_wid2sr('nbv_before_depreciation');
    ?>
</td>
         <td><?php 
    form::number_field_wid2sr('salvage_value_bd');
    ?>
</td>
        </tr>
        <?php 
    $fa_depreciation_line_object_ai->next();
    if ($fa_depreciation_line_object_ai->key() == $position + $per_page) {
        break;
    }
    $count = $count + 1;
}
?>
      </tbody>
     </table>
    </div>
    <div id="tabsLine-2" class="tabContent">
         
         <tr class="sys_value_group_line<?php 
    echo $count;
    ?>
">
          <td><?php 
    echo ino_inline_action(${$class_second}->sys_value_group_line_id, array('sys_value_group_header_id' => ${$class}->sys_value_group_header_id));
    ?>
     
         </td>
          <td><?php 
    $f->seq_field_d($count);
    ?>
</td>
          <td><?php 
    form::number_field_wid2sr('sys_value_group_line_id');
    ?>
</td>
          <td><?php 
    form::text_field_wid2sm('code');
    ?>
</td>
          <td><?php 
    form::text_field_wid2('code_value');
    ?>
</td>
          <td><?php 
    form::text_field_wid2('description');
    ?>
</td>
          <td><?php 
$inv_abc_assignment_line_object_ai->seek($position);
while ($inv_abc_assignment_line_object_ai->valid()) {
    $inv_abc_assignment_line = $inv_abc_assignment_line_object_ai->current();
    ?>
         
         <tr class="inv_abc_assignment_line<?php 
    echo $count;
    ?>
">
          <td>
           <?php 
    echo ino_inline_action(${$class_second}->inv_abc_assignment_line_id, array('inv_abc_assignment_header_id' => ${$class}->inv_abc_assignment_header_id));
    ?>
          </td>
          <td><?php 
    form::number_field_wid2sr('inv_abc_assignment_line_id', 'always_readonly');
    ?>
</td>
          <td><?php 
    $f->text_field_d2sr('item_id_m');
    ?>
</td>
          <td><?php 
    $f->text_field_wid2('item_number', 'select_item_number');
    ?>
 <i class="select_item_number select_popup clickable fa fa-search"></i></td>
          <td><?php 
    $f->text_field_wid2l('item_description');
    ?>
</td>
          <td><?php 
Example #9
0
         
          <tr class="mdm_price_list_line<?php 
    echo $count;
    ?>
">
           <td><?php 
    echo ino_inline_action(${$class_second}->mdm_price_list_line_id, array('mdm_price_list_header_id' => ${$class}->mdm_price_list_header_id));
    ?>
    
           </td>
           <td><?php 
    $f->seq_field_d($count);
    ?>
</td>
           <td><?php 
    form::number_field_wid2sr('mdm_price_list_line_id');
    ?>
</td>
           <td><?php 
    echo $f->select_field_from_array('line_type', mdm_price_list_line::$line_type_a, ${$class_second}->line_type);
    ?>
</td>
           <td><?php 
    echo $f->hidden_field('item_id_m', ${$class_second}->item_id_m);
    form::text_field_wid2('item_number', 'select_item_number');
    ?>
            <i class="select_item_number select_popup clickable fa fa-search"></i></td>
           <td><?php 
    form::text_field_wid2('item_description');
    ?>
</td>
Example #10
0
         <td><?php 
    $f->val_field_wid2('transaction_number', 'ar_transaction_header', 'transaction_number', 'ar_customer_id');
    echo $f->hidden_field('ar_transaction_header_id', ${$class_second}->ar_transaction_header_id);
    echo $f->hidden_field_withCLass('ar_customer_id', ${$class}->ar_customer_id, 'popup_value ar_customer_id');
    ?>
          <i class="generic g_select_ar_transaction_number select_popup clickable fa fa-search" data-class_name="ar_transaction_header"></i></td>
         <td><?php 
    !empty(${$class_second}->ar_receipt_line_id) ? form::number_field_wid2sr('amount') : $f->text_field_wid2s('amount');
    ?>
</td>
         <td><?php 
    !empty(${$class_second}->ar_receipt_line_id) ? form::number_field_wid2sr('exchange_rate') : $f->text_field_wid2s('exchange_rate');
    ?>
</td>
         <td><?php 
    !empty(${$class_second}->ar_receipt_line_id) ? form::number_field_wid2sr('gl_amount') : $f->text_field_wid2s('gl_amount');
    ?>
</td>
         <td><?php 
    $f->text_field_wid2sr('invoice_amount', 'header_amount');
    ?>
</td>
         <td><?php 
    $f->text_field_wid2sr('receipt_amount');
    ?>
</td>
         <td><?php 
    $f->text_field_wid2r('remaining_amount');
    ?>
</td>
        </tr>
Example #11
0
$prj_burden_list_line_object_ai->seek($position);
while ($prj_burden_list_line_object_ai->valid()) {
    $prj_burden_list_line = $prj_burden_list_line_object_ai->current();
    ?>
         
          <tr class="prj_burden_list_line<?php 
    echo $count;
    ?>
">
           <td><?php 
    echo ino_inline_action(${$class_second}->prj_burden_list_line_id, array('prj_burden_list_header_id' => ${$class}->prj_burden_list_header_id));
    ?>
    
           </td>
           <td><?php 
    form::number_field_wid2sr('prj_burden_list_line_id');
    ?>
</td>
           <td><?php 
    echo $f->select_field_from_object('prj_burden_costcode_id', prj_burden_costcode::find_all(), 'prj_burden_costcode_id', 'costcode', ${$class_second}->prj_burden_costcode_id, '', 'medium', 1, $readonly);
    ?>
</td>
           <td><?php 
    echo $f->select_field_from_object('bu_org_id', org::find_all_business(), 'org_id', 'org', ${$class_second}->bu_org_id, '', 'bu_org_id copyValue medium', 1, $readonly);
    ?>
</td>
           <td><?php 
    echo $f->number_field('multiplier', ${$class_second}->multiplier);
    ?>
</td>
           <td><?php 
Example #12
0
     <th>ar_transaction_line_id</th>
     <th>Invoice/CM # </th>
     <th>Process Id </th>
     <th>View Process</th>
     <th>Action</th>
    </tr>
   </thead>
   <tbody class="form_data_line_tbody">
    <?php
    $count = 0;
    foreach ($sd_so_line_object as $sd_so_line) {
     $sd_so_line->ar_transaction_number = null;
     ?>         
     <tr class="sd_so_line<?php echo $count ?>">
      <td><?php $f->seq_field_d($count) ?></td>
      <td><?php form::number_field_wid2sr('invoiced_quantity'); ?></td>
      <td><?php form::text_field_wid2r('ar_transaction_header_id'); ?></td>
      <td><?php form::text_field_wid2r('ar_transaction_line_id'); ?></td>
      <td><?php form::text_field_wid2r('ar_transaction_number'); ?></td>
      <td><?php $f->text_field_wid2r('sys_spd_header_id', 'dont_copy'); ?></td>
      <td><a role="button" target="_blank" class="btn btn-sm btn-default dont_copy" href="form.php?class_name=sys_spd_header&sys_spd_header_id=<?php echo $$class_second->sys_spd_header_id; ?>"><?php echo $$class_second->sys_spd_header_id; ?></a></td>
      <td><?php echo $f->select_field_from_array('line_action', sd_so_line::$line_action_a, ''); ?></td>
     </tr>
     <?php
     $count = $count + 1;
    }
    ?>
   </tbody>
   <!--                  Showing a blank form for new entry-->
  </table>
 </div>
Example #13
0
$sd_store_subinventory_object_ai = new ArrayIterator($sd_store_subinventory_object);
$sd_store_subinventory_object_ai->seek($position);
while ($sd_store_subinventory_object_ai->valid()) {
    $sd_store_subinventory = $sd_store_subinventory_object_ai->current();
    ?>
         
         <tr class="sd_store_subinventory<?php 
    echo $count;
    ?>
">
          <td><?php 
    echo ino_inline_action($sd_store_subinventory->sd_store_subinventory_id, array('sd_store_id' => ${$class}->sd_store_id));
    ?>
          </td>
          <td><?php 
    form::number_field_wid2sr('sd_store_subinventory_id');
    ?>
</td>
          <td>
           <?php 
    echo $f->select_field_from_object('subinventory_id', subinventory::find_all_of_org_id(${$class}->org_id), 'subinventory_id', 'subinventory', ${$class_second}->subinventory_id, '', 'subinventory_id copyValue', '');
    ?>
          </td>
          <td><?php 
    $f->text_field_wid2('floor_number');
    ?>
</td>
          <td><?php 
    $f->text_field_wid2('building_number');
    ?>
</td>
Example #14
0
$inv_count_schedule_object_ai->seek($position);
while ($inv_count_schedule_object_ai->valid()) {
    $inv_count_schedule = $inv_count_schedule_object_ai->current();
    ?>
         
         <tr class="inv_count_schedule<?php 
    echo $count;
    ?>
">
          <td>
           <?php 
    echo ino_inline_action(${$class_second}->inv_count_schedule_id, array('inv_count_header_id' => ${$class}->inv_count_header_id));
    ?>
          </td>
          <td><?php 
    form::number_field_wid2sr('inv_count_schedule_id');
    ?>
</td>
          <td><?php 
    $f->text_field_d2sr('item_id_m');
    ?>
</td>
          <td><?php 
    $f->text_field_wid2('item_number', 'select_item_number');
    ?>
<i class="select_item_number select_popup clickable fa fa-search"></i></td>
          <td><?php 
    $f->text_field_wid2('item_description');
    ?>
</td>
          <td><?php 
Example #15
0
$inv_count_schedule_object_ai->seek($position);
while ($inv_count_schedule_object_ai->valid()) {
    $inv_count_schedule = $inv_count_schedule_object_ai->current();
    ?>
         
         <tr class="inv_count_schedule<?php 
    echo $count;
    ?>
">
          <td>
           <?php 
    echo ino_inline_action(${$class_second}->inv_count_schedule_id, array('inv_count_header_id' => ${$class}->inv_count_header_id));
    ?>
          </td>
          <td><?php 
    form::number_field_wid2sr('inv_count_schedule_id', 'always_readonly');
    ?>
</td>
          <td><?php 
    $f->text_field_d2sr('item_id_m');
    ?>
</td>
          <td><?php 
    $f->text_field_wid2('item_number', 'select_item_number');
    ?>
<i class="select_item_number select_popup clickable fa fa-search"></i></td>
          <td><?php 
    $f->text_field_wid2('item_description');
    ?>
</td>
          <td><?php 
Example #16
0
$pos_transaction_line_object_ai->seek($position);
while ($pos_transaction_line_object_ai->valid()) {
    $pos_transaction_line = $pos_transaction_line_object_ai->current();
    ?>
         
               <tr class="pos_transaction_line<?php 
    echo $count;
    ?>
">
                <td>    
                 <?php 
    echo ino_inline_action($pos_transaction_line->pos_transaction_line_id, array('pos_transaction_header_id' => ${$class}->pos_transaction_header_id));
    ?>
                </td>
                <td><?php 
    form::number_field_wid2sr('pos_transaction_line_id');
    ?>
</td>
                <td><?php 
    $f->text_field_wid2('item_number', 'select_item_number');
    ?>
                 <i class="select_item_number select_popup clickable fa fa-search"></i></td>
                <td><?php 
    echo $f->number_field('unit_price', ${$class_second}->unit_price, '', '', 'medium');
    ?>
</td>
                <td><?php 
    echo $f->number_field('quantity', ${$class_second}->quantity);
    ?>
</td>
                <td><?php 
Example #17
0
    } else {
        $fa_asset_assignment->address_name = null;
    }
    ?>
         
         <tr class="fa_asset_assignment<?php 
    echo $count;
    ?>
">
          <td>
           <?php 
    echo ino_inline_action($fa_asset_assignment->fa_asset_assignment_id, array('fa_asset_id' => ${$class}->fa_asset_id));
    ?>
          </td>
          <td><?php 
    form::number_field_wid2sr('fa_asset_assignment_id');
    ?>
</td>
          <td><?php 
    echo $f->number_field('units', ${$class_second}->units, '', '', 'line_units');
    ?>
</td>
          <td><?php 
    echo $f->val_field('employee_name', ${$class_second}->employee_name, '', '', 'vf_select_member_employee_name', '', '', 'hr_employee_v', 'employee_name');
    echo $f->hidden_field('hr_employee_id', ${$class_second}->hr_employee_id);
    ?>
<i class="generic g_select_employee_name select_popup clickable fa fa-search" data-class_name="hr_employee_v"></i></td>
          <td><?php 
    $f->ac_field_d2m('expense_ac_id');
    ?>
</td>
Example #18
0
						 <?php 
$count = 0;
foreach ($sd_so_line_object as $sd_so_line) {
    $sd_so_line->ar_transaction_number = null;
    ?>
         
 						 <tr class="sd_so_line<?php 
    echo $count;
    ?>
">
 							<td class="seq_number"><?php 
    echo $count;
    ?>
</td>
 							<td><?php 
    form::number_field_wid2sr('invoiced_quantity');
    ?>
</td>
 							<td><?php 
    form::text_field_wid2r('ar_transaction_header_id');
    ?>
</td>
 							<td><?php 
    form::text_field_wid2r('ar_transaction_line_id');
    ?>
</td>
 							<td><?php 
    form::text_field_wid2r('ar_transaction_number');
    ?>
</td>
 						 </tr>
Example #19
0
        <?php 
$count = 0;
foreach ($gl_ledger_balancing_values_object as $gl_ledger_balancing_values) {
    ?>
         
         <tr class="gl_ledger_balancing_values<?php 
    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>
    ?>
</td>
                 <td><?php 
    form::number_field_wid2sr('running_quantity');
    ?>
</td>
                 <td><?php 
    form::number_field_wid2sr('rejected_quantity');
    ?>
</td>
                 <td><?php 
    form::number_field_wid2sr('scrapped_quantity');
    ?>
</td>
                 <td><?php 
    form::number_field_wid2sr('tomove_quantity');
    ?>
</td>

                </tr>
                <?php 
    $count = $count + 1;
}
?>
             </tbody>
            </table>

           </div>
           <ul class="column six_column"> 
            <li><label>From Seq : </label>
             <?php 
Example #21
0
$inv_abc_assignment_line_object_ai->seek($position);
while ($inv_abc_assignment_line_object_ai->valid()) {
    $inv_abc_assignment_line = $inv_abc_assignment_line_object_ai->current();
    ?>
         
         <tr class="inv_abc_assignment_line<?php 
    echo $count;
    ?>
">
          <td>
           <?php 
    echo ino_inline_action(${$class_second}->inv_abc_assignment_line_id, array('inv_abc_assignment_header_id' => ${$class}->inv_abc_assignment_header_id));
    ?>
          </td>
          <td><?php 
    form::number_field_wid2sr('inv_abc_assignment_line_id');
    ?>
</td>
          <td><?php 
    $f->text_field_d2sr('item_id_m');
    ?>
</td>
          <td><?php 
    $f->text_field_wid2('item_number', 'select_item_number');
    ?>
 <i class="select_item_number select_popup clickable fa fa-search"></i></td>
          <td><?php 
    $f->text_field_wid2l('item_description');
    ?>
</td>
          <td><?php