@extends('layout.main') @section('content')
Live Sales | ${{($deal_summary['customer_sum']['actual_cost'] ? $deal_summary['customer_sum']['actual_cost'] : "0") }} |
---|---|
Live Cost | ${{($deal_summary['vendor_sum']['actual_cost'] ? $deal_summary['vendor_sum']['actual_cost'] : "0") }} |
Live Profit | ${{($deal_summary['customer_sum']['actual_cost'] ? number_format(str_replace(',','',$deal_summary['customer_sum']['actual_cost']) - str_replace(',','',$deal_summary['vendor_sum']['actual_cost']) , 6 , '.' , ',') : "0")}} |
{{ucfirst(str_replace('_',' ',$index)) }} | {{$data_total}} |
---|---|
% | {{($deal_summary['customer_sum']['planned_cost'] ? number_format((int)$deal_summary['customer_sum']['actual_cost']/$deal_summary['customer_sum']['planned_cost'] , 6 , '.' , '') : "0") *100}}% |
{{ucfirst(str_replace('_',' ',$index)) }} | {{$data_total}} |
---|---|
% | {{($deal_summary['vendor_sum']['planned_cost'] ? number_format((int)$deal_summary['vendor_sum']['actual_cost']/$deal_summary['vendor_sum']['planned_cost'] , 6 , '.' , '') : "0") *100}}% |
Type | Destination | Destination Break | Prefix | Trunk | Revenue/Cost | Deal Rate | Actual Rate | Actual Revenue/Cost | Actual Minutes | % |
---|---|---|---|---|---|---|---|---|---|---|
{{$deal_detail_row->Type}} | {{$deal_detail_row->DestinationCountryID ? $Countries[$deal_detail_row->DestinationCountryID] : ''}} | {{$deal_detail_row->DestinationBreak}} | {{$deal_detail_row->Prefix}} | @if($deal_detail_row->TrunkID != 0) {{$Trunks[$deal_detail_row->TrunkID]}} @endif | {{number_format($deal_detail_row->Revenue , 6 , '.' , ',')}} | {{number_format($deal_detail_row->SalePrice , 6 , '.' , ',')}} | {{number_format($deal_detail_row->BuyPrice , 6 , '.' , ',')}} | {{number_format($deal_detail_data['TotalCharges'] , 6 , '.' , ',')}} | {{number_format($deal_detail_data['TotalBilledDuration'] , 0 , '' , ',')}} | {{number_format($deal_percentage , 6 , '.' , '')}}% |