mirror of
https://gitee.com/ShopeX/OMS
synced 2026-04-06 06:55:36 +08:00
2. 【新增】手工创建订单折扣可输入正数 3. 【优化】盘点申请单确认 4. 【修复】采购退货单模拟出库失败问题 5. 【新增】订单金额客户实付与结算金额 6. 【优化】仓库发货统计报表物料名称显示 7. 【优化】自有仓储虚拟发货逻辑 8. 【修复】基础物料分类管理问题
32 lines
848 B
PHP
32 lines
848 B
PHP
<?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 '';
|
|
}
|
|
}
|
|
}
|