Files
OMS/app/purchase/lib/credit/sheet.php
2025-12-28 23:13:25 +08:00

30 lines
615 B
PHP
Executable File
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 purchase_credit_sheet {
function save_credit_sheet($data, &$msg){
$oCredit_sheet = app::get('purchase')->model("credit_sheet");
return $oCredit_sheet->save($data);
}
function gen_id(){
$oCredit_sheet = app::get('purchase')->model("credit_sheet");
return $oCredit_sheet->gen_id();
}
function isCredit($po_id){
$oCredit_sheet = app::get('purchase')->model("credit_sheet");
return $oCredit_sheet->isCredit($po_id);
}
}
?>