diff --git a/app/Http/Controllers/AdminController.php b/app/Http/Controllers/AdminController.php index c2387c7..68348ef 100644 --- a/app/Http/Controllers/AdminController.php +++ b/app/Http/Controllers/AdminController.php @@ -4,13 +4,10 @@ namespace App\Http\Controllers; use Illuminate\Http\RedirectResponse; use Illuminate\Http\Request; -use Illuminate\Support\Facades\Auth; use App\Http\Requests\SiteEdit; use App\Models\{Account, - Charge, Invoice, - InvoiceItem, Payment, PaymentItem, Service, @@ -23,13 +20,6 @@ use App\Models\{Account, */ class AdminController extends Controller { - // @todo Move to reseller - public function service(Service $o) - { - return view('theme.backend.adminlte.a.service') - ->with('o',$o); - } - /** * Record payments on an account. * diff --git a/resources/views/theme/backend/adminlte/a/service.blade.php b/resources/views/theme/backend/adminlte/a/service.blade.php deleted file mode 100644 index 04a8902..0000000 --- a/resources/views/theme/backend/adminlte/a/service.blade.php +++ /dev/null @@ -1,71 +0,0 @@ -@extends('adminlte::layouts.app') - -@section('htmlheader_title') - Service #{{ $o->id }} -@endsection - -@section('contentheader_title') - Service # -@endsection -@section('contentheader_description') - {{ $o->service_id }} -@endsection - -@section('main-content') -
-
-
- {{ csrf_field() }} - -
-

Service Information

-
- -
-
- @switch($o->order_status) - @case('ORDER-SUBMIT') - @include('theme.backend.adminlte.a.widgets.service.order.submit') - @break - - @case('ORDER-HOLD') - @case('ORDER-SENT') - @case('ORDERED') - @include('theme.backend.adminlte.a.widgets.service.order.sent') - @break - - @default - @include('theme.backend.adminlte.u.widgets.service.info') - @endswitch -
- - @if($o->order_status == 'ORDER-REQUEST') -
- @include('theme.backend.adminlte.a.widgets.service_order-request') -
- @endif -
- - -
-
-
-@endsection \ No newline at end of file