本文整理匯總了PHP中main_front_class::common_fetch_attachement_withItem_In_PO方法的典型用法代碼示例。如果您正苦於以下問題:PHP main_front_class::common_fetch_attachement_withItem_In_PO方法的具體用法?PHP main_front_class::common_fetch_attachement_withItem_In_PO怎麽用?PHP main_front_class::common_fetch_attachement_withItem_In_PO使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類main_front_class
的用法示例。
在下文中一共展示了main_front_class::common_fetch_attachement_withItem_In_PO方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: explode
} else {
$due_date = '';
}
if ($result['refi_date'] != '0000-00-00') {
$corect_date_format2 = explode("-", $result['refi_date']);
$refi_date = $corect_date_format2[2] . '/' . $corect_date_format2[1] . '/' . $corect_date_format2[0];
} else {
$refi_date = '';
}
if ($result['extended_date'] != '0000-00-00') {
$corect_date_format3 = explode("-", $result['extended_date']);
$extended_date = $corect_date_format3[2] . '/' . $corect_date_format3[1] . '/' . $corect_date_format3[0];
} else {
$extended_date = '';
}
$result_product = $obj->common_fetch_attachement_withItem_In_PO('po_products', 'po_id', $_GET['val']);
$result_attachment = $obj->common_fetch_attachement('po_attachments', 'tender_id', $_GET['val']);
$tender_office = $obj->Common_name_id('office', 'office_code', $result['tender_office']);
$tender_purchaser = $obj->Common_name_id('create_purchaser', 'purchaser_short_name', $result['tender_purchaser']);
$list_consignee_edit = $obj->List_Drop_down_onSelection_noAjax('main_consignee', 'main_csign_short_name', 'main_csign_purchaser', $result['tender_purchaser']);
}
$list_office = $obj->List_Drop_Down("office", "office_code", "id");
$list_firm = $obj->List_Drop_Down("consignee", "csign_short_name", "id");
//print_r($list_firm);
//tere liye
?>
<script type="text/javascript">
//tere liye check
<?php
$tlf_str = "var tere_liye_firms_list = [";