Files
OMS/app/finance/model/monthly/report/items.php
2025-12-28 23:13:25 +08:00

38 lines
1.1 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
/**
* Copyright © ShopeX http://www.shopex.cn. All rights reserved.
* See LICENSE file for license details.
*/
class finance_mdl_monthly_report_items extends dbeav_model {
var $has_export_cnf = true;
var $export_name = '账期核销列表';
/**
* modifier_gap
* @param mixed $col col
* @param mixed $list list
* @param mixed $row row
* @return mixed 返回值
*/
public function modifier_gap($col,$list,$row){
if($this->is_export_data) {
return $col;
}
return sprintf('<a href="index.php?app=finance&ctl=monthend_verification&act=base_list&p[0]=%s" target="_blank">%s</a>',$row['id'], $col);
}
/**
* modifier_order_bn
* @param mixed $col col
* @param mixed $list list
* @param mixed $row row
* @return mixed 返回值
*/
public function modifier_order_bn($col,$list,$row){
if($this->is_export_data) {
return $col;
}
return sprintf('<a href="index.php?app=finance&ctl=monthend_verification&act=sale_list&p[0]=%s" target="_blank">%s</a>',$row['id'], $col);
}
}