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

Service Management

{{-- tab content --}}
{{-- provider services --}}
New Provider Service
@foreach ($provider_svcs as $svc) @endforeach
# Service Provider Earnings (%) Words per Day Application Directions
{{ $svc->id }} {{ $svc->service }} {{ $svc->provider_earnings }} ({{ $svc->provider_earnings * 100 }}) {{ $svc->words_per_day }}
{!! $svc->application_directions !!}
{{-- prices --}}
New Service
@foreach ($services as $svc) @endforeach
# Service Days Price Min Word Count Max Word Count Provider Service Option
{{ $svc->id }} {{ $svc->service }} {{ $svc->days }} {{ $svc->price }} {{ $svc->min_word_count }} {{ $svc->max_word_count }} {{ $svc->provider_service }}
{{-- categories --}}
New Category
@foreach ($categories as $cat) @endforeach
# Category Parent Category Allowed Provider Services Option
{{ $cat->id }} {{ $cat->name }} {{ $cat->getParentService($cat->id)->first() }} @foreach ($cat->get_allowed_provider_services() as $allowed_svc) @foreach ($provider_svcs as $svc) @if ($allowed_svc['provider_svc_id'] === $svc->id) {{ $svc->service }}
@endif @endforeach @endforeach
  • ACTION
    • Edit
    • {{ Form::open(['id' => 'deleteServiceForm', 'method' => 'DELETE', 'route' => ['admin.services.destroy', 'id' => $cat->id]]) }} {{ Form::close() }}
@endsection