@extends('adminlte::layouts.app') @section('htmlheader_title') {{ trans('adminlte_lang::message.home') }} @endsection @section('contentheader_title') Product Detail @endsection @section('contentheader_description') {{ $ido->import_date->format('Y-m-d') }} @endsection @section('main-content')

{{ $po->name }}

@foreach ($po->accounts($ido) as $o) @endforeach
  Entitled Deployment Unassigned
Name Qty Value Qty Deployed Assigned Qty Unassigned
{{ $o->account_name }} {{ $q=(isset($o->qty_entitled) ? $o->qty_entitled : 0) }} J${{ number_format($e=(isset($o->entitled) ? $o->entitled : 0),3) }}m {{ $r=(isset($o->qty_rate) ? $o->qty_rate : 0) }} J${{ number_format($d=(isset($o->deployed) ? $o->deployed : 0),3) }}m J${{ number_format($a=(isset($o->assigned) ? $o->assigned : 0),3) }}m {{ $q-$r }} J${{ number_format(($e-$d-$a),3) }}m
@endsection