@extends('layouts.master') @section('title',trans('app.chances.chances')." | ".$chance->slug) @section('content')

{{trans('app.chances.chance_details')}}

@if(($chance->image || $chance->progress<100))
@if($chance->image)
{{$chance->name}}
@endif @if($chance->progress<100)
{{trans('app.chances.remaining_date')}}
@endif
@endif
  • {{trans('app.chances.company_name')}}
    {{$chance->company->name}}
  • {{trans('app.chances.chance_name')}}
    {{$chance->name}}
  • {{trans('app.chances.internal_number')}}
    {{$chance->number}}
  • {{trans('app.chances.closing_date')}}
    {{$chance->closing_date->format('d-m-Y')}}
  • {{trans('app.chances.sectors')}}
    @foreach($chance->sectors as $sector) {{$x != 0 ? " | " : "" }}{{$sector->name}} @endforeach
  • {{--
  • {{trans('app.chances.chance_value')}}
    {{$chance->value}}
  • --}}
  • {{trans('app.chances.rules_book')}}
@foreach($chance->units as $unit) @endforeach @foreach($otherUnits as $unit) @endforeach
{{trans('app.sectors.sector_name')}} {{trans('app.units.unit')}} {{trans('app.quantity')}}

{{$unit->name }}

{{$unit->details}}

{{$unit->pivot->name}} {{$unit->pivot->quantity}}

{{$unit->name }}

{{$unit->unit}} {{$unit->quantity}}
@if(!fauth()->check())

{{trans('app.register_chance_apply')}} {{trans('app.register_now')}}

{{trans('app.login_chance_apply')}} {{trans('app.login')}}

@else @if($chance->closing_date>Carbon\Carbon::now()) @endif @endif
@endsection @push('scripts') @endpush