@if(!is_null($user)) @php $billingAddresses = $user->getAddresses(); $companies = $user->getCompanies(); @endphp

1{{ trans('translations.order-date-facturare') }}

@if(count($billingAddresses) > 0) @foreach ($billingAddresses as $billingAddress)
{{ $billingAddress->name }} - {{ $billingAddress->phone }}
{{ $billingAddress->address }} {{ $billingAddress->getCounty() }}, {{ $billingAddress->getCity() }}
@endforeach @else

{{ trans('translations.order-no-billing-addresses') }}

@endif
{{ trans('translations.order-add-new-billing-address') }}
@if(count($companies) > 0) @foreach ($companies as $company)
{{ $company->name }}
{{ $company->cui }}
{{ $company->address }} {{ $company->getCounty() }}, {{ $company->getCity() }}
@endforeach @else

{{ trans('translations.order-no-companies') }}

@endif
{{ trans('translations.order-add-new-company') }}
@endif