mirror of
https://gitee.com/ShopeX/OMS
synced 2026-04-16 02:25:34 +08:00
1. 【新增】售后单售后原因类型支持搜索
2. 【新增】手工创建订单折扣可输入正数 3. 【优化】盘点申请单确认 4. 【修复】采购退货单模拟出库失败问题 5. 【新增】订单金额客户实付与结算金额 6. 【优化】仓库发货统计报表物料名称显示 7. 【优化】自有仓储虚拟发货逻辑 8. 【修复】基础物料分类管理问题
This commit is contained in:
31
app/financebase/model/account/chart.php
Normal file
31
app/financebase/model/account/chart.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
/**
|
||||
* 会计科目模型类
|
||||
* @author 334395174@qq.com
|
||||
* @version 0.1
|
||||
*/
|
||||
class financebase_mdl_account_chart extends dbeav_model
|
||||
{
|
||||
|
||||
public function isExist($filter,$id = 0)
|
||||
{
|
||||
$sql = "SELECT id FROM ".$this->table_name(true)." WHERE ".$this->filter($filter);
|
||||
$id and $sql.=" and id <> ".$id;
|
||||
return $this->db->selectrow($sql) ? true : false;
|
||||
}
|
||||
|
||||
public function modifier_account_category($col) {
|
||||
switch($col) {
|
||||
case 'platform_amount':
|
||||
return '平台承担';
|
||||
case 'actually_amount':
|
||||
return '客户实付';
|
||||
case 'refundplatform_amount':
|
||||
return '平台补贴退';
|
||||
case 'refundactually_amount':
|
||||
return '客户应退';
|
||||
default:
|
||||
return '';
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user