@extends('layouts.master') @section('title') Location Management @endsection @section('content')
Location Management
@if(session('success')) @endif
@foreach($locations as $location) @endforeach
Location ID Description Address Contact Incard Settings Status Action
{{ $location->AcLocationID }} {{ $location->AcLocationDesc }} {{ $location->Address1 }}
@if($location->Address2){{ $location->Address2 }}
@endif @if($location->Address3){{ $location->Address3 }}
@endif @if($location->Address4){{ $location->Address4 }}@endif
@if($location->Phone1) {{ $location->Phone1 }}
@endif @if($location->MobileNo1) {{ $location->MobileNo1 }} @endif
@if($location->IncardMerchantID || $location->IncardSecureCode || $location->IncardTerminalId) @if($location->IncardMerchantID) Merchant: {{ $location->IncardMerchantID }}
@endif @if($location->IncardTerminalId) Terminal: {{ $location->IncardTerminalId }}
@endif @if($location->IncardSecureCode) Secure Code: ****
@endif
@else Not Configured @endif
@if($location->IsActive == 'Y') Active @else Inactive @endif
{{ $locations->links() }}
@endsection @section('script') @endsection