@extends('modules.head') @section('contenido')
{{ Lang::get('messages.screen_discounts_tag1')}} |{{Lang::get('messages.screen_discounts_tag42')}}
@if(isset($discountUsers[0]))
  • {{$discountUsers[0]->discount->name}}
  • {{ Lang::get('messages.screen_discounts_tag40')}}: @if($discountUsers[0]->discount->price_discount>0) $ {{number_format($discountUsers[0]->discount->price_discount)}} @else {{$discountUsers[0]->discount->percentage_discount}}% @endif
  • @if($discountUsers[0]->discount->value_for_win)
  • {{ Lang::get('messages.screen_discounts_tag43')}}: $ {{number_format($discountUsers[0]->discount->value_for_win)}}
  • @endif
  • {{ Lang::get('messages.screen_discounts_tag33')}}: @if($discountUsers[0]->discount->current_winners == null) 0 @else {{$discountUsers[0]->discount->current_winners}} @endif de {{$discountUsers[0]->discount->max_winners}}
  • @if($discountUsers[0]->discount->code_coupon)
  • {{ Lang::get('messages.screen_discounts_tag45')}}: {{$discountUsers[0]->discount->code_coupon}}
  • @endif
  • {{ Lang::get('messages.screen_discounts_tag46')}}: {{$discountUsers[0]->discount->when_start}}
  • {{ Lang::get('messages.screen_discounts_tag47')}}: {{$discountUsers[0]->discount->when_finish}}
@endif

{{ Lang::get('messages.screen_discounts_tag41')}}

@if(isset($discountUsers[0]) && $discountUsers[0]->discount->discount_type_id == 1) @endif @foreach($discountUsers as $discountUser) @if(isset($discountUsers[0]) && $discountUsers[0]->discount->discount_type_id == 1) @endif @endforeach
{{ Lang::get('messages.screen_discounts_tag35')}} {{ Lang::get('messages.screen_discounts_tag36')}} {{ Lang::get('messages.screen_discounts_tag37')}} {{ Lang::get('messages.screen_discounts_tag38')}} {{ Lang::get('messages.screen_discounts_tag39')}} {{ Lang::get('messages.screen_discounts_tag44')}}{{ Lang::get('messages.screen_discounts_tag5')}}
{{$discountUser->user->first_name}} {{$discountUser->user->last_name}} {{$discountUser->user->email}} {{$discountUser->user->phone}} {{$discountUser->user->document}} {{$discountUser->order->code}} $ {{number_format($discountUser->order->total_price)}}
@include('orders.modal_calification') @endsection