發表文章

目前顯示的是 一月, 2011的文章

[VtigerCRM] 內建的報價單調整之不重要日誌紀錄

---報價單上面增加客戶稱謂---

header.php
$contact_id = $focus->column_fields["contact_id"]; if(!empty($contact_id)) { $sql = "select * from vtiger_contactdetails where contactid=?"; $result = $adb->pquery($sql, array($contact_id)); $contact_salutation = $adb->query_result($result,0,"salutation"); } if (!empty($contact_name)) $pdf->cusdetailtital($app_strings["Contact Name"],$contact_name." ".$contact_salutation, $cuslocation);
---拿掉報價單上不必要的折扣與折讓---
Inventory.js in include/js, InventoryUtils.php in include/utils, ProductDetails.tpl and .tpl in Smarty/templates/Inventory/
Smarty/templates/Inventory/ProductDetailsEditView 用隱藏 (-) {$APP.LBL_DISCOUNT} :
include\utils\DetailViewUtils.php 用隱藏
(-) '.$app_strings['LBL_DISCOUNT'].' :

---拿掉折讓--- Smarty/templates/Inventory/ProductDetailsEditView
用隱藏 {$APP.LBL_ADJUSTMENT} {$APP.LBL_ADD_ITEM} {$APP.LBL_DEDUCT}