@extends('admin.head')
@section('middle')
<section class="content">
@if(count($term_and_condition)>0)
@else
<a href="{{ url('add_terms_and_condition') }}"><button class="btn btn-primary" style="float: right"><i class="glyphicon glyphicon-plus"></i>Add Term And Condition</button></a>
@endif
<div class="row">
<div class="col-xs-12">
<div class="box">
<div class="box-header">
<h3 class="box-title">Term And Condition</h3>
</div>
<!-- /.box-header -->
<div class="box-body">
<table id="example1" class="table table-bordered table-striped">
<thead>
<tr>
<th>Description</th>
<th>Action</th>
</tr>
</thead>
<tbody>
@foreach($term_and_condition as $condition)
<tr>
<td><?php echo $condition->description ?></td>
<td style="width: 20%">
<a style="margin: 5px;" href="{{ url('edit_terms_and_condition') }}/{{ $condition->term_id }}" class="btn btn-primary"><i class="glyphicon glyphicon-pencil"></i></a>
<a data-toggle="modal" data-target="#confirm-delete" data-href="{{ url('delete_terms_and_condition') }}/{{ $condition->term_id }}" class="btn btn-danger"><i class="glyphicon glyphicon-trash"></i></a>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
<!-- /.box-body -->
</div>
<!-- /.box -->
</div>
<!-- /.col -->
</div>
<!-- /.row -->
</section>
@endsection
Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]