File: /var/www/vhost/disk-apps/demo.sports-crowd.com/resources/views/academy/credit_note/list.blade.php
@extends('modules.head') @section('contenido')
<link rel="stylesheet" href="/css/academy-purchase-credit-note.css">
<div class="box-header">
<a class="auxiliar-black" href="{{ url('/academy_purchase_credit_note/add/' . $academyPurchase->id) }}">
<button class="btn btnAdd pull-right">
<i style="margin-right:5px;" class="fa fa-plus"></i>{{ Lang::get('messages.academy_coaches.title_create') }}
</button>
</a>
</div>
<div class="box">
<div class="box-header with-border">
<h3>
<a class="ruta" class="" href="{{ url('/academy_purchase') }}">
{{ Lang::get('messages.Pagos') }}
</a>
<span class="separador-ruta">|</span>
{{ Lang::get('messages.erp.credit_note') }}
</h3>
</div>
<div class="box">
<div class="form-group col-md-12" style="margin-bottom: 30px;">
<p class="note" style="margin-bottom: 0px;">
{{ Lang::get('messages.academy_purchases.purchase_info') }}<br>
<br>
{{ Lang::get('messages.academy_users.academy_user') }}:
{{ $academyPurchase->academy_user->student_name }}
{{ $academyPurchase->academy_user->student_last_name }}
<br>
{{ Lang::get('messages.academy_payments.tag6') }}: {{ $academyPurchase->term }}
<br>
{{ Lang::get('messages.erp.value') }}: {{ $academyPurchase->price }}
</p>
</div>
<!-- /.box-header -->
<div class="box-body table-responsive ">
<table id="example2" class="stripe row-border order-column" style="width:100%" role="grid"
aria-describedby="example2_info">
<thead>
<tr role="row">
<th class="sorting" tabindex="0" aria-controls="example2" rowspan="1" colspan="1"
aria-label="Browser: activate to sort column ascending">
{{ Lang::get('messages.erp.value') }}
</th>
<th class="sorting" tabindex="0" aria-controls="example2" rowspan="1" colspan="1"
aria-label="Browser: activate to sort column ascending">
{{ Lang::get('messages.symbolic_tickets_price.comment') }}
</th>
<th class="sorting" tabindex="0" aria-controls="example2" rowspan="1" colspan="1"
aria-label="Browser: activate to sort column ascending">
{{ Lang::get('messages.screen_notifications_tag6') }}
</th>
<th class="sorting" tabindex="0" aria-controls="example2" rowspan="1" colspan="1"
aria-label="Browser: activate to sort column ascending">
{{ Lang::get('messages.screen_mailbox_tag6') }}
</th>
</tr>
</thead>
<tbody>
@foreach ($academyPurchaseCreditNote as $item)
<tr class="odd">
<td>{{ $item->credit_note->value }}</td>
<td>{{ $item->credit_note->comment }}</td>
<td>{{ $item->credit_note->user->first_name }} {{ $item->credit_note->user->last_name }}
</td>
<td>{{ $item->credit_note->created_at }}</td>
</tr>
@endforeach
</tbody>
</table>
</div>
<!-- /.box-body -->
</div>
<script src="{{ asset('js/jQuery/jquery-2.2.3.min.js') }}"></script>
<script src="{{ asset('js/bootstrap/js/bootstrap.min.js') }}"></script>
<script src="{{ asset('js/academy_news.js') . '?v=' . time() }}"></script>
@endsection