@extends('layouts.admin') @section('title', 'Offers') @section('content')

Offer Items

All Offers listing Add

@if (Session::has('message'))
{{ Session::get('message') }}
@endif @foreach($data as $datas) @php $currency = DB::table('currencies')->where('id',$datas->currency_id)->first(); @endphp @endforeach
ID Title Arabic Title Type Amount Currency Status Date Action
{{$datas->id}} {{$datas->title}} {{$datas->arabic_title}} {{$datas->type}} {{$datas->amount}} {{$currency->title}} @if($datas->status=='1') Activated @else De-Activated @endif {{$datas->created_at}} Edit {{ Form::open(array('url' => 'admin/offers/' . $datas->id, 'class' => 'pull-right')) }} {{ Form::hidden('_method', 'DELETE') }} {{ Form::submit('Delete', array('class' => 'btn btn-danger')) }} {{ Form::close() }}
ID Title Arabic Title Type Amount Currency Status Date Action
@endsection