diff --git a/app/Http/Controllers/Admin/HelpTicketCrudController.php b/app/Http/Controllers/Admin/HelpTicketCrudController.php index 1e35a253..2274db6d 100644 --- a/app/Http/Controllers/Admin/HelpTicketCrudController.php +++ b/app/Http/Controllers/Admin/HelpTicketCrudController.php @@ -57,16 +57,16 @@ class HelpTicketCrudController extends CrudController { $content = parent::show($id); - $this->crud->addColumn([ - 'name' => 'table', - 'label' => 'Table', - 'type' => 'table', - 'columns' => [ - 'code' => 'Code', - 'name' => 'Name', - 'phone' => 'Phone', - ] - ]); +// $this->crud->addColumn([ +// 'name' => 'table', +// 'label' => 'Table', +// 'type' => 'table', +// 'columns' => [ +// 'code' => 'Code', +// 'name' => 'Name', +// 'phone' => 'Phone', +// ] +// ]); return $content; } @@ -91,5 +91,6 @@ class HelpTicketCrudController extends CrudController public function replay($id){ + return view('admin.HelpDeskTicket'); } } diff --git a/resources/views/admin/HelpDeskTicket.blade.php b/resources/views/admin/HelpDeskTicket.blade.php new file mode 100644 index 00000000..4c2fc0be --- /dev/null +++ b/resources/views/admin/HelpDeskTicket.blade.php @@ -0,0 +1,18 @@ +@extends("backpack::layout") +@section('header') +
+

+ {!! $crud->getHeading() ?? $crud->entity_name_plural !!} + {!! $crud->getSubheading() ?? mb_ucfirst(trans('backpack::crud.preview')).' '.$crud->entity_name !!}. +

+ +
+ @endsection + +@section('content') + + @endsection diff --git a/resources/views/admin/transactions.blade.php b/resources/views/admin/transactions.blade.php deleted file mode 100644 index 6a16e346..00000000 --- a/resources/views/admin/transactions.blade.php +++ /dev/null @@ -1,124 +0,0 @@ -@extends('backpack::layout') - -@section('header') -
-

- {!! $crud->getHeading() ?? $crud->entity_name_plural !!} - {!! $crud->getSubheading() ?? trans('backpack::crud.all').''.$crud->entity_name_plural.' '.trans('backpack::crud.in_the_database') !!}. -

- -
-@endsection - -@section('content') - -
- - -
-
- -
-
- @if ( $crud->buttons->where('stack', 'top')->count() || $crud->exportButtons()) -
- - @include('crud::inc.button_stack', ['stack' => 'top']) - -
- @endif -
-
-
-
-
- - {{-- Backpack List Filters --}} - @if ($crud->filtersEnabled()) - @include('crud::inc.filters_navbar') - @endif - -
- - - - - {{-- Table columns --}} - @foreach ($crud->columns as $column) - - @endforeach - - @if ( $crud->buttons->where('stack', 'line')->count() ) - - @endif - - - - - - - {{-- Table columns --}} - @foreach ($crud->columns as $column) - - @endforeach - - @if ( $crud->buttons->where('stack', 'line')->count() ) - - @endif - - -
- {!! $column['label'] !!} - {{ trans('backpack::crud.actions') }}
{!! $column['label'] !!}{{ trans('backpack::crud.actions') }}
- - @if ( $crud->buttons->where('stack', 'bottom')->count() ) -
- @include('crud::inc.button_stack', ['stack' => 'bottom']) - - -
- @endif - -
- -
-
- -
- -@endsection - -@section('after_styles') - - - - - - - - - - - @stack('crud_list_styles') -@endsection - -@section('after_scripts') - @include('crud::inc.datatables_logic') - - - - - - - @stack('crud_list_scripts') -@endsection