当前位置: 首页>>代码示例>>PHP>>正文


PHP uom类代码示例

本文整理汇总了PHP中uom的典型用法代码示例。如果您正苦于以下问题:PHP uom类的具体用法?PHP uom怎么用?PHP uom使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了uom类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1:

        ?>
">
             <td><?php 
        echo ${$class}->adm_task_type_id;
        ?>
</td>
             <td><?php 
        $f->checkBox_field_d('send_notification_cb');
        ?>
</td>
             <td><?php 
        $f->checkBox_field_d('schedule_cb');
        ?>
</td>
             <td><?php 
        echo $f->select_field_from_object('effort_uom_id', uom::find_all(), 'uom_id', 'uom_name', ${$class}->effort_uom_id, 'effort_uom_id');
        ?>
</td>
             <td><?php 
        $f->text_field_d('effort_value');
        ?>
</td>
            </tr>
            <?php 
        $count = $count + 1;
    }
}
?>
         </tbody>
         <!--                  Showing a blank form for new entry-->
开发者ID:ac3gam3r,项目名称:inoERP,代码行数:30,代码来源:task_type_template_ma.php

示例2: array

            <i class="select_item_number select_popup clickable fa fa-search"></i></td>
           <td><?php 
    if (!empty(${$class_fourth}->component_item_id_m) && !empty(${$class}->org_id)) {
        $revision_name_a = inv_item_revision::find_by_itemIdM_orgId(${$class_fourth}->component_item_id_m, ${$class}->org_id);
    } 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;
}
?>
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:am_wo_template.php

示例3:

        ?>
    </td>
             <td><?php 
        form::text_field_wid('description');
        ?>
</td>
             <td><?php 
        $f->l_date_fieldAnyDay('effective_from', ${$class}->effective_from);
        ?>
</td>
             <td><?php 
        $f->l_date_fieldAnyDay('effective_to', ${$class}->effective_to);
        ?>
</td>
             <td><?php 
        $f->l_select_field_from_object('uom', uom::find_all(), 'uom_id', 'uom_name', ${$class}->uom_id, 'uom_id', 'uom_id', '', $readonly1);
        ?>
         </td>
            </tr>
            <?php 
        $count = $count + 1;
    }
}
?>
         </tbody>
        </table>
       </div>
       <div id="tabsLine-2" class="scrollElement" class="tabContent">
        <table class="form_table">
         <thead> 
          <tr>
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:prj_expenditure_type_template_ma.php

示例4: array

       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>
开发者ID:henryzi,项目名称:inoERP,代码行数:31,代码来源:po_template.php

示例5:

    ?>
</td>
 							<td><?php 
    form::text_field_wid2sr('item_id_m');
    ?>
</td>
 							<td><?php 
    form::text_field_wid2('item_number');
    ?>
</td>
 							<td><?php 
    form::text_field_wid2('item_description');
    ?>
</td>
							<td><?php 
    echo form::select_field_from_object('uom', uom::find_all(), 'uom_id', 'uom', ${$class_second}->uom, 'uom');
    ?>
</td>
 							<td><?php 
    form::number_field_wid2s('line_quantity');
    ?>
</td>

 							<td class="add_detail_values"><img src="<?php 
    echo HOME_URL;
    ?>
themes/images/page_add_icon_16.png" class="add_detail_values_img" alt="add detail values" />
 							 <!--</td></tr>-->	
								<?php 
    $po_line_id = $po_line->po_line_id;
    if (!empty($po_line_id)) {
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:po_template.php

示例6:

    ?>
</td>
         <td><?php 
    $f->text_field_d2('item_number', 'select_item_number');
    ?>
</td>
         <td><?php 
    $f->text_field_wid2sr('revision_name');
    ?>
</td>
         <td><?php 
    $f->text_field_d2('item_description');
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_object('uom_id', uom::find_all(), 'uom_id', 'uom_name', $inv_receipt_line->uom_id, '', '', '', $readonly1);
    ?>
</td>
         <td><?php 
    echo $f->number_field('transaction_quantity', ${$class_second}->transaction_quantity, '8', '', '', 1, $readonly1);
    ?>
</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', '', $readonly1);
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_object('locator_id', locator::find_all_of_subinventory(${$class_second}->subinventory_id), 'locator_id', 'locator', ${$class_second}->locator_id, '', 'locator_id', '', $readonly1);
    ?>
</td>
        </tr>
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:inv_rma_receipt_template.php

示例7:

    ?>
</td>
          <td><?php 
    echo $f->text_field_ap(array('name' => 'field_type', 'value' => $secondary_field->field_type, 'readonly' => true));
    ?>
</td>
          <td><?php 
    echo $f->select_field_from_array('control_type', dbObject::$control_type_a, $secondary_field->control_type);
    ?>
</td>
          <td><?php 
    echo $f->text_field('control_value', $secondary_field->control_value);
    ?>
</td>
          <td><?php 
    echo $f->select_field_from_object('control_uom', uom::find_all(), 'uom_id', 'uom_name', $secondary_field->control_uom, '', 'uom_id small');
    ?>
</td>
          <td><?php 
    echo $f->select_field_from_array('display_weight', dbObject::$position_array, $secondary_field->display_weight);
    ?>
</td>
          <td><?php 
    echo $f->checkBox_field('active_cb', $secondary_field->active_cb);
    ?>
</td>
         </tr>
         <?php 
    $count++;
}
?>
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:instance_template.php

示例8:

    ?>
</td>
         <td><?php 
    echo $f->text_field_wid2sr('line_source');
    ?>
</td>
         <td><?php 
    echo $f->date_fieldAnyDay('start_date', ${$class_second}->start_date);
    ?>
</td>
         <td><?php 
    echo $f->date_fieldAnyDay('end_date', ${$class_second}->end_date);
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_object('duration_uom_id', uom::find_all(), 'uom_id', 'uom_name', ${$class_second}->duration_uom_id, 'duration_uom_id', 'uom_id', '', $readonly1);
    ?>
         </td>
         <td><?php 
    echo $f->text_field_d2('duration');
    ?>
</td>
         <td><?php 
    echo $f->date_fieldAnyDay('termination_date', ${$class_second}->termination_date);
    ?>
</td>
        </tr>
        <?php 
    $count = $count + 1;
}
?>
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:hd_service_contract_template.php

示例9:

             <td><?php 
        echo $f->select_field_from_object('org_id', org::find_all_inventory(), 'org_id', 'org', ${$class}->org_id, '', 'org_id_primary');
        ?>
       </td>
             <td><?php 
        $f->val_field_wid('item_number', 'item', 'item_number', 'org_id');
        echo $f->hidden_field_withCLass('item_id_m', ${$class}->item_id_m, 'dontCopy');
        echo $f->hidden_field_withCLass('reservable_cb', '1', 'popup_value');
        ?>
</td>
             <td><?php 
        $f->text_field_wid('item_description');
        ?>
</td>
             <td><?php 
        echo $f->select_field_from_object('uom_id', uom::find_all(), 'uom_id', 'uom_name', ${$class}->uom_id, '', 'always_readonly');
        ?>
         </td>
             <td><?php 
        echo $f->date_fieldFromToday_m('need_by_date', ${$class}->need_by_date, 1);
        ?>
</td>
             <td><?php 
        echo $f->number_field('demand_quantity', ${$class}->demand_quantity, '', '', 'demand_quantity');
        ?>
</td>
             <td><?php 
        $f->text_field_wid('reason');
        ?>
</td>            </tr>
            <?php 
开发者ID:rusli-nasir,项目名称:inoERP,代码行数:31,代码来源:inv_reservation_template_ma.php

示例10:

    ?>
</td>
          <td><?php 
    echo $f->text_field('item_id_m', $wip_wo_bom->component_item_id_m, '', '', 'item_id_m', '', 1);
    ?>
</td>
          <td><?php 
    echo $f->text_field('component_item_number', $item_i->item_number, '20', '', 'select_item_number', '', $readonly);
    ?>
           <i class="select_item_number select_popup clickable fa fa-search"></i></td>
          <td><?php 
    echo $f->text_field('component_description', $item_i->item_description, '20', '', 'item_description', '', $readonly);
    ?>
</td>
          <td><?php 
    echo $f->select_field_from_object('uom_id', uom::find_all(), 'uom_id', 'uom_name', $item_i->uom_id, '', 'uom_id', '', $readonly);
    ?>
</td>
          <td><?php 
    echo $f->number_field('quantity', $wip_wo_bom->usage_quantity, '', '', 'final_quantity', 1);
    echo $f->hidden_field('usage_quantity', $wip_wo_bom->usage_quantity);
    ?>
</td>
         </tr>
         <?php 
    $count = $count + 1;
}
?>
       </tbody>
      </table>
     </div>
开发者ID:noikiy,项目名称:inoERP,代码行数:31,代码来源:wol_transaction_template.php

示例11:

    ?>
         
        <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>
开发者ID:seanla,项目名称:inoERP,代码行数:31,代码来源:delivery_template.php

示例12: foreach

       </div>
       <div id="tabsLine-2" class="scrollElement" class="tabContent">
        <table class="form_table">
         <tr>
          <th> Primary UOM Id</th>
          <th> Primary UOM</th>
          <th> Operator </th>
          <th> Primary Relation </th>
         </tr>
         <tbody class="form_data_line_tbody">
          <?php 
$count = 0;
if (!empty($search_result)) {
    foreach ($search_result as $uom) {
        if (!empty($uom->primary_uom_id)) {
            $primar_uom_i = uom::find_by_id($uom->primary_uom_id);
            $uom->primary_uom = $primar_uom_i->uom_name;
        } else {
            $uom->primary_uom = null;
        }
        ?>
         
            <tr class="uom_line<?php 
        echo $count;
        ?>
">
             <td><?php 
        $f->text_field_widsr('primary_uom_id');
        ?>
</td>
             <td><?php 
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:uom_template_ma.php

示例13:

     <div> 
      <ul class="column four_column"> 
       <li><?php 
echo $f->l_number_field('max_units', ${$class}->max_units, '', 'max_units', 'medium');
?>
</li> 
       <li><?php 
echo $f->l_select_field_from_object('max_volume_uom_id', uom::find_all(), 'uom_id', 'uom_name', ${$class}->max_volume_uom_id, 'max_volume_uom_id');
?>
</li>
       <li><?php 
echo $f->l_number_field('max_volume', ${$class}->max_volume, '', 'max_volume', 'medium');
?>
</li> 
       <li><?php 
echo $f->l_select_field_from_object('max_weight_uom_id', uom::find_all(), 'uom_id', 'uom_name', ${$class}->max_weight_uom_id, 'max_weight_uom_id');
?>
</li>
       <li><?php 
echo $f->l_number_field('max_weight', ${$class}->max_weight, '', 'max_weight', 'medium');
?>
</li> 
      </ul> 
     </div> 
    </div>
   </div>
  </div> 
 </div> 
</form>

开发者ID:ac3gam3r,项目名称:inoERP,代码行数:29,代码来源:locator_template.php

示例14:

           'tax_code_value' => $$class_second->tax_code_value));
          ?>
         </td>
         <td><?php $f->seq_field_d($count) ?></td>
         <td><?php form::text_field_wid2sr('sd_so_line_id', 'line_id'); ?></td>
         <td><?php echo form::text_field('line_number', $$class_second->line_number, '8', '20', 1, 'Auto no', '', $readonly, 'lines_number'); ?></td>
         <td><?php echo $f->select_field_from_object('line_type', sd_document_type::find_all_line_levels(), 'sd_document_type_id', 'document_type_name', $$class_second->line_type, '', 'medium', 1, $readonly, '', '', '', 'process_flow_id'); ?></td>
         <td><?php echo $f->select_field_from_object('shipping_org_id', org::find_all_inventory(), 'org_id', 'org', $$class_second->shipping_org_id, '', '', 1, $readonly); ?></td>
         <td><?php
          $f->val_field_wid2('item_number', 'item', 'item_number', 'shipping_org_id');
          echo $f->hidden_field_withCLass('item_id_m', $$class_second->item_id_m,'dont_copy_r');
          echo $f->hidden_field_withCLass('customer_ordered_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 form::text_field_wid2s('item_description'); ?></td>
         <td><?php echo $f->select_field_from_object('uom_id', uom::find_all(), 'uom_id', 'uom_name', $$class_second->uom_id, '', 'small'); ?></td>

         <td><?php form::number_field_wid2s('line_quantity'); ?></td>
         <td><?php $f->text_field_wid2r('line_status'); ?></td>
        </tr>
        <?php
        $count = $count + 1;
       }
       ?>
      </tbody>
     </table>
    </div>
    <div id="tabsLine-2" class="scrollElement tabContent">
     <table class="form_line_data_table">
      <thead> 
       <tr>
开发者ID:henryzi,项目名称:inoERP,代码行数:31,代码来源:so_template.php

示例15:

</td>
 							<td><?php 
    echo $f->select_field_from_object('shipping_org_id', org::find_all_inventory(), 'org_id', 'org', ${$class_second}->shipping_org_id, '', 'small', 1, $readonly);
    ?>
</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>
 							<td><?php 
    echo $f->select_field_from_object('uom_id', uom::find_all(), 'uom_id', 'uom_name', ${$class_second}->uom_id, '', 'small');
    ?>
</td>
 							<td><?php 
    $f->text_field_wid2r('line_status');
    ?>
</td>
 							<td><?php 
    form::number_field_wid2s('line_quantity');
    ?>
</td>
 						 </tr>
							<?php 
    $count = $count + 1;
}
?>
开发者ID:noikiy,项目名称:inoERP,代码行数:31,代码来源:expense_template.php


注:本文中的uom类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。