Merge pull request 'update' (#149) from zhangwei into dev
Reviewed-on: #149
This commit is contained in:
commit
6606ad9493
@ -34,5 +34,10 @@ class FinancePaymentPlan extends BaseModel
|
|||||||
{
|
{
|
||||||
return $this->belongsTo(\app\common\model\contract\ProcurementContract::class, 'contract_id');
|
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