@extends('layouts.app') @section('content')

Company Management


@can('company_view')
{{ csrf_field() }}
@endcan @can('company_contact_view')
@foreach($company->branches as $branch) @foreach ($branch->contacts as $contact) @endforeach @endforeach
Branch Name Mobile Landline email position Action
{{$contact->branch->zone->emirate->name}}, {{$contact->branch->zone->name}}, {{$contact->branch->location}} {{ $contact->name }} {{ $contact->phone }} {{ $contact->landline }} {{ $contact->email }} {{ $contact->position }} @can('company_contact_update') @endcan
@endcan @can('company_branch_create')
{{ csrf_field() }}
@endcan @can('company_branch_view')
@foreach ($company->branches as $branch) @endforeach
# Emirate Zone Location Fax HQ Action
{{$branch->id}} {{$branch->zone->emirate->name}} {{$branch->zone->name}} {{$branch->location}} {{$branch->fax}} @php $hq = $branch->HQ ==0 ? "NO" : "YES"; echo($hq); @endphp @can('company_branch_update') @endcan
{{--
{{ csrf_field() }}
name}} class="form-control" placeholder="Company Name" name="name">
fax}} class="form-control" placeholder="Fax" name='fax'>
--}}
@endcan @can('company_branch_create')
{{ csrf_field() }} id}}>
@endcan
@foreach($company->branches as $branch) @foreach ($branch->lpos as $lpo) @if($lpo->active_lpo == 0) @php $status = "Not Active"; @endphp @else @php $status = "Active"; @endphp @endif @endforeach @endforeach
# Branch Client LPO Number Related Proposal Payment Terms Collected after #Days Notes File Start Date End Date Status Type Created At
{{ $lpo->id }} {{ $lpo->branch->zone->emirate->name }} {{ $lpo->branch->zone->name }} {{ $lpo->branch->location }} @php if($lpo->type == 0){ echo ("NA"); }else{ echo($lpo->client_lpo_number); } @endphp View Proposal View PDF {{ $lpo->paymentmethods->name }} {{ $lpo->pay_days}} {{ $lpo->notes }} View File {{ $lpo->start_date }} {{ $lpo->end_date }} {{ $status }} @php if($lpo->type == 0){ echo('Quotation'); }else{ echo('LPO'); } @endphp {{ $lpo->created_at }}
@endsection