close #2985 Fixed : Customer information on Invoices formatted incorrectly

This commit is contained in:
Cüneyt Şentürk 2023-08-10 10:52:00 +03:00
parent 45a1e13753
commit 6539df1f1f

View File

@ -270,14 +270,14 @@ class Contact extends Model
$location[] = $this->city;
}
if ($this->zip_code) {
$location[] = $this->zip_code;
}
if ($this->state) {
$location[] = $this->state;
}
if ($this->zip_code) {
$location[] = $this->zip_code;
}
if ($this->country && array_key_exists($this->country, trans('countries'))) {
$location[] = trans('countries.' . $this->country);
}