@extends('layouts.master') @section('title') templates @endsection @section('css') @endsection @section('content') @component('components.breadcrumb') @slot('li_1') Company @endslot @slot('title') Tarrifs @endslot @endcomponent
@if (session('status')) @endif @if (session('error'))
@endif
Internet tariffs
@can('create tariff') Create tariff @endcan
@if(count($packages))
@foreach($packages as $package) @endforeach
ID Title Agg Price Download Upload Services Action
{{ $package->id }} {{ $package->name }} 1 : {{$package->aggregation}} {{ number_format($package->price, 2) }} Ksh {{ number_format($package->download) }} kbps {{ number_format($package->upload) }} kbps {{ count($package->services->where('is_active',1)) }}
    @can('update tariff')
  • @endcan @can('delete tariff')
  • @endcan
@else
Sorry! No Tariff Found

You have not added any tariff yet

@endif
@if(count($packages))

Service utilization

@endif @endsection @section('script') {{-- --}} @endsection