@@ -1250,7 +1250,11 @@ class Agreement
# 基础版
else {
$name = '基础版';
- $year = 6;
+ $year = intval($info['soft_cash']/1000);
+ if ($year > 6) {
+ $year = 6;
+ }
+ //$year = 6;
$cash = '3.1合同金额:1000元/每年,合计总金额['.$info['soft_cash'].']元。';
}
@@ -436,7 +436,10 @@ Class Soft_cash
+ $year = intval($v['cash']/1000);
if($v['fdate']){
$fdate = date('Y-m-d H:i',$v['fdate']);