@extends('adminlte::layouts.app') @section('htmlheader_title') Product List @endsection @section('page_title') Product List @endsection @section('contentheader_title') Product List @endsection @section('contentheader_description') @endsection @section('main-content')
@foreach (\App\Models\Service::active()->get() as $o) @endforeach
ID Service Product Monthly Cost Traffic (GB) Supplier
{{ $o->id }} {{ $o->name }} {{ $o->product->name }} {{ number_format($o->billing_monthly_price,2) }} {{ number_format(\App\Models\Tax::tax_calc(($s=$o->supplied)->base_cost*\App\Models\Invoice::billing_change($s->billing_interval,1),$o->account->taxes),2) }} {{ $o->category == 'broadband' ? number_format($o->type->usage_summary(0)->sum()/1000,1) : '-' }} {{ $o->product->supplier->name }}
@endsection @section('page-scripts') @css(datatables,bootstrap4|fixedheader|responsive|rowgroup|buttons) @js(datatables,bootstrap4|fixedheader|responsive|rowgroup|buttons) @append