A free open source IT asset/license management system
Fixes #4009 - zip not populating on locations listing page
snipe26203801f6b2
diff --git a/app/Http/Transformers/LocationsTransformer.php b/app/Http/Transformers/LocationsTransformer.phpindex 1366391d3c..c914ba9e41 100644--- a/app/Http/Transformers/LocationsTransformer.php+++ b/app/Http/Transformers/LocationsTransformer.php@@ -36,9 +36,11 @@ class LocationsTransformer'address' => e($location->address),'city' => e($location->city),'state' => e($location->state),+ 'country' => e($location->country),+ 'zip' => e($location->zip),'assets_checkedout' => $location->assets()->count(),'assets_default' => $location->assignedassets()->count(),- 'country' => e($location->country),+'created_at' => Helper::getFormattedDateObject($location->created_at, 'datetime'),'updated_at' => Helper::getFormattedDateObject($location->updated_at, 'datetime'),'parent' => ($location->parent) ? [