initial commit
This commit is contained in:
commit
28301e4312
219 changed files with 23035 additions and 0 deletions
15
resources/views/lms/settings/fine/_form.blade.php
Executable file
15
resources/views/lms/settings/fine/_form.blade.php
Executable file
|
@ -0,0 +1,15 @@
|
|||
<div class="form-group">
|
||||
{!! Form::label('days', $daysLabel) !!}
|
||||
{!! Form::text('days', null, ['class' => 'form-control']) !!}
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
{!! Form::label('fines', $finesLabel) !!}
|
||||
{!! Form::text('fines', null, ['class' => 'form-control']) !!}
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
{!! Form::submit($submitButtonText, ['class' => 'btn btn-primary form-control']) !!}
|
||||
</div>
|
||||
|
||||
@include('errors._errors')
|
28
resources/views/lms/settings/fine/edit.blade.php
Executable file
28
resources/views/lms/settings/fine/edit.blade.php
Executable file
|
@ -0,0 +1,28 @@
|
|||
@extends('app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<h1 class="judul">Edit Your Fucking Fines</h1>
|
||||
|
||||
<div class="col-md-4">
|
||||
|
||||
<a href="{{ route('settings.category') }}" class="btn btn-danger">
|
||||
<span class="glyphicon glyphicon-chevron-left" ></span> BACK
|
||||
</a>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-md-4" >
|
||||
|
||||
{!! Form::model($fine, ['method' => 'PATCH', 'route' => ['settings.fines.update', $fine->id]]) !!}
|
||||
|
||||
@include('lms/settings/fine/_form', ['submitButtonText' => 'Edit Fines', 'daysLabel' => 'Days..', 'finesLabel' => 'Fines..'])
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
@stop
|
44
resources/views/lms/settings/fine/fine.blade.php
Executable file
44
resources/views/lms/settings/fine/fine.blade.php
Executable file
|
@ -0,0 +1,44 @@
|
|||
@extends('app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<h1 class="judul">FINES</h1>
|
||||
|
||||
<div class="col-md-8">
|
||||
|
||||
|
||||
<br><br>
|
||||
|
||||
<table class="table table-striped table-bordered">
|
||||
|
||||
<thead>
|
||||
|
||||
<th>Days</th>
|
||||
<th>Fines</th>
|
||||
<th>Options</th>
|
||||
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
@foreach($fines as $fine)
|
||||
|
||||
<tr>
|
||||
|
||||
<td>{{ $fine->days }}</td>
|
||||
<td>{{ $fine->fines }}</td>
|
||||
<td><a href="{{ route('settings.fines.edit', $fine->id) }}"><span class="glyphicon glyphicon-pencil" aria-hidden="true"></span></a></td>
|
||||
|
||||
</tr>
|
||||
|
||||
@endforeach
|
||||
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
@stop
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue