@extends("admin.layouts.app") @section("styles") @endsection @section("content")
{!! Form::open(['route'=>"admin.gift-cards.index",'method'=>"get"]) !!} {{Form::close()}} @forelse($gift_cards as $gift_card) @empty @endforelse
Code Generated At Order # Created By Value Redeemed By Redeemed Date Active Actions
{{Form::text("code",Request::get("code",NULL),['class'=>"form-control form-filter input-sm"])}} {{Form::text("order",Request::get("order",NULL),['class'=>"form-control form-filter input-sm"])}} {{Form::text("created_by",Request::get("created_by",NULL),['class'=>"form-control form-filter input-sm"])}} {{Form::text("redeemed_by",Request::get("redeemed_by",NULL),['class'=>"form-control form-filter input-sm"])}} Reset
{{$gift_card->code}} {{$gift_card->created_at}} @if($gift_card->order) order_id)}}" target="_blank">{{$gift_card->order->track_id}}
{{$gift_card->order->status->title}}
@else - @endif
@if($gift_card->user) Admin: {{$gift_card->user->name}} @else $gift_card->bought_by_customer->mobile])}}">{{$gift_card->bought_by_customer->full_name}} @endif
@if($gift_card->coupon_campaign_id) Coupon Campaign: {{$gift_card->coupon_campaign->name}} @endif
{{$gift_card->amount}} @if($gift_card->redeemed_by_customer) $gift_card->redeemed_by_customer->mobile])}}">{{$gift_card->redeemed_by_customer->full_name}} @else - @endif {{$gift_card->redeemed_at ?? "-"}} @if(!$gift_card->redeemed_at) @if ($gift_card->is_active) @else @endif @else - @endif id,"action"=>"print"])}}"> Print id,"action"=>"send","source"=>"gift"])}}"> Send
{!! $gift_cards->links()!!}
@endsection @section("scripts") @include("admin.layouts.update_attribute") @endsection