solve trailing data error

This commit is contained in:
harshjagad20
2021-12-18 15:08:05 +05:30
parent 2765f35f98
commit 2fd8d8a5f4
4 changed files with 0 additions and 42 deletions

View File

@ -54,13 +54,6 @@ class Payment extends Model implements HasMedia
});
}
public function setPaymentDateAttribute($value)
{
if ($value) {
$this->attributes['payment_date'] = $value;
}
}
public function getFormattedCreatedAtAttribute($value)
{
$dateFormat = CompanySetting::getSetting('carbon_date_format', $this->company_id);