@extends('layouts.pdf') @section('title') {{ $extra['module_name'] }} @endsection @section('content')

{{ config('settings.company_name')}}

{{ config('settings.address_1')}}

{{ App\Models\Branch::find($items[0]->branch_id)->name }}

action)) class="dis-none" @endif >



{{-- --}}
{{ App\Models\Branch::find($items[0]->branch_id)->name }}
SALE : {{ $transaction->convert_money_format($items[0]->total_sell_cost) }}
COGS : {{$transaction->convert_money_format($items[0]->total_cost)}}
PROFIT : {{$transaction->convert_money_format($items[0]->total_sell_cost-$items[0]->total_cost > 0 ? $items[0]->total_sell_cost-$items[0]->total_cost:0 )}}
@php $total = 0 ; $principle_total = 0 ; @endphp @if(count($items)>0) @foreach ($items as $item) @php $total += $item->investor_profit ; $principle_total += $item->principle_profit ; @endphp @endforeach @else @endif
INVESTOR INVEST % ON PROJECT COST INVEST RETURN INVESTOR PROFIT PRINCIPLE PROFIT
{{$item->name}} {{$item->investment_percentage}} {{$transaction->convert_money_format($item->invest_return)}} {{$transaction->convert_money_format($item->investor_profit)}} {{$transaction->convert_money_format($item->principle_profit)}}
TOTAL {{$transaction->convert_money_format($total)}} {{$transaction->convert_money_format($principle_total)}}
No Item Available
@if(count($sellItem)>0) @foreach ($sellItem as $item) @endforeach @else @endif
CUSTOMER PRODUCT SALE COGS PROFIT/LOSS
{{ App\Models\Customer::find($item->customer_id)->name}} {{$item->product_unique_id}} {{$transaction->convert_money_format($item->total_sell_cost)}} {{$transaction->convert_money_format($item->total_cost)}} {{$transaction->isNegative($item->total_sell_cost-$item->total_cost)}}
No Item Available

@stop