-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #60 from avored/dev
merging dev to master
- Loading branch information
Showing
61 changed files
with
1,714 additions
and
196 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,4 +32,4 @@ | |
@endforeach | ||
</select> | ||
|
||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<div class="row"> | ||
<div class="col-12"> | ||
@if(session()->has('errorNotificationText')) | ||
<div class="alert alert-danger alert-dismissible" role="alert"> | ||
<button type="button" class="close" data-dismiss="alert" aria-label="Close"> | ||
<span aria-hidden="true">×</span> | ||
</button> | ||
|
||
<strong>Error!</strong> {{ session()->get('errorNotificationText') }} | ||
</div> | ||
@endif | ||
|
||
|
||
@if(session()->has('notificationText')) | ||
<div class="alert alert-success alert-dismissible" role="alert"> | ||
<button type="button" class="close" data-dismiss="alert" aria-label="Close"> | ||
<span aria-hidden="true">×</span> | ||
</button> | ||
|
||
<strong>Success!</strong> {{ session()->get('notificationText') }} | ||
</div> | ||
@endif | ||
</div> | ||
</div> |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
@include('avored-framework::forms.text', ['name' => 'name', 'label' => 'Name']) | ||
@include('avored-framework::forms.textarea', ['name' => 'description', 'label' => 'Description']) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
@extends('avored-framework::layouts.app') | ||
|
||
@section('content') | ||
|
||
<div id="admin-tax-group-page" class="row"> | ||
<div class="col-12"> | ||
<div class="card"> | ||
<div class="card-header"> | ||
{{ __('avored-framework::system.tax-group.create') }} | ||
</div> | ||
<div class="card-body"> | ||
|
||
<form action="{{ route('admin.tax-group.store') }}" method="post"> | ||
@csrf | ||
|
||
@include('avored-framework::system.tax-group._fields') | ||
|
||
<div class="form-group"> | ||
<button class="btn btn-primary" type="submit"> | ||
{{ __('avored-framework::system.tax-group.create') }} | ||
</button> | ||
<a href="{{ route('admin.tax-group.index') }}" class="btn"> | ||
{{ __('avored-framework::lang.cancel') }} | ||
</a> | ||
</div> | ||
|
||
</form> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
</div> | ||
@endsection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
@extends('avored-framework::layouts.app') | ||
|
||
@section('content') | ||
|
||
<div id=admin-admin-state-page class="row"> | ||
<div class="col-12"> | ||
<div class="card"> | ||
<div class="card-header"> | ||
{{ __('avored-framework::system.tax-group.update') }} | ||
</div> | ||
<div class="card-body"> | ||
<form action="{{ route('admin.tax-group.update', $model->id) }}" | ||
|
||
method="post"> | ||
@csrf() | ||
@method('put') | ||
|
||
@include('avored-framework::system.tax-group._fields') | ||
|
||
<div class="form-group"> | ||
<button class="btn btn-primary" type="submit"> | ||
{{ __('avored-framework::system.tax-group.update') }} | ||
</button> | ||
<a href="{{ route('admin.tax-group.index') }}" class="btn"> | ||
{{ __('avored-framework::lang.cancel') }} | ||
</a> | ||
</div> | ||
|
||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
@endsection | ||
|
||
@push('scripts') | ||
|
||
<script> | ||
var app = new Vue({ | ||
el: '#admin-admin-state-page', | ||
data : { | ||
model: {}, | ||
autofocus:true, | ||
disabled: true | ||
}, | ||
methods: { | ||
changeModelValue: function(val,fieldName) { | ||
this.model[fieldName] = val; | ||
} | ||
} | ||
}); | ||
</script> | ||
|
||
|
||
@endpush |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
@extends('avored-framework::layouts.app') | ||
|
||
@section('content') | ||
<div class="container-fluid"> | ||
<div class="h1"> | ||
{{ __('avored-framework::system.tax-group.title') }} | ||
|
||
<a href="{{ route('admin.tax-group.create') }}" | ||
class="float-right btn btn-primary"> | ||
{{ __('avored-framework::system.tax-group.create') }} | ||
</a> | ||
</div> | ||
|
||
{!! DataGrid::render($dataGrid) !!} | ||
|
||
</div> | ||
@stop |
Oops, something went wrong.