Merge pull request 'update' (#149) from zhangwei into dev
Reviewed-on: #149
This commit is contained in:
commit
6606ad9493
@ -35,4 +35,9 @@ class FinancePaymentPlan extends BaseModel
|
||||
return $this->belongsTo(\app\common\model\contract\ProcurementContract::class, 'contract_id');
|
||||
}
|
||||
|
||||
public function getPayDateAttr($value): string
|
||||
{
|
||||
return !empty($value) ? date('Y-m-d') : '';
|
||||
}
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user