fix custom field invoice issue

This commit is contained in:
radhika587
2022-01-27 15:04:32 +05:30
parent 221184df41
commit 30f36461c2
3 changed files with 8 additions and 2 deletions

View File

@ -166,6 +166,11 @@ class Invoice extends Model implements HasMedia
}
}
public function getFormattedNotesAttribute($value)
{
return $this->getNotes();
}
public function getFormattedCreatedAtAttribute($value)
{
$dateFormat = CompanySetting::getSetting('carbon_date_format', $this->company_id);