@extends('apex-layouts.main') @section('content')
{{-- Against--}} {{-- {{$source->name}}--}} @if(!$model->isPaid) id)}}"--}} data-modal-id="create-transaction-modal-{{$model->id}}" title="Create Transaction"> @endif
@if($model->paidDate)
Paid Date{{date("y-m-d",strtotime($model->paidDate))}}
@endif
Source{{$model->object}}
Status {{$model->status}}
Type {{$model->type}}
@if($model->created_by)
Created by{{$model->createdBy->name}}
@endif @if($model->cancel_by)
Cancel by{{$model->cancelBy->name}}
@endif
Created {{date("Y-m-d",strtotime($model->created_at))}}
Updated {{date("Y-m-d",strtotime($model->updated_at))}}
Description {{$model->description}}
@if($model->invoiceItems->count()){{ 'Items' }}
@foreach($model->invoiceItems as $item)
@if($item->object == "MEAL_PLANS")
objectId)}}"
title="{{$item->objectId}}">
{{$item->title}}
@else
{{$item->title}}
@endifRs {{$item->amount}}
@endforeach
{{ 'Payments' }}