|
|
|
|
|
addLoop($__currentLoopData); foreach($__currentLoopData as $service): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
index + 1); ?> |
title); ?> |
description); ?> |
status ? 'checked' : ''); ?> data-toggle="toggle"
data-on="" data-off=""
data-onstyle="success" data-offstyle="danger">
|
guard('admin')->user()->can('service.edit')): ?>
'components.admin.edit-button','data' => ['href' => route('admin.service.edit', ['service' => $service->id, 'code' => getSessionLanguage()])]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('admin.edit-button'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['href' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(route('admin.service.edit', ['service' => $service->id, 'code' => getSessionLanguage()]))]); ?>
renderComponent(); ?>
guard('admin')->user()->can('service.delete')): ?>
'components.admin.delete-button','data' => ['id' => $service->id,'onclick' => 'deleteData']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('admin.delete-button'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['id' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($service->id),'onclick' => 'deleteData']); ?>
renderComponent(); ?>
|
popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
guard('admin')->user()->can('service.create')): ?>
__('Service'),'route' => 'admin.service.create','create' => 'yes','message' => __('No data found!'),'colspan' => '5'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('empty-table'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes([]); ?>
renderComponent(); ?>
onEachSide(3)->onEachSide(3)->links()); ?>