mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-29 20:51:09 -04:00
solve trailing data error
This commit is contained in:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user