@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 }}
{{ 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 )}} |
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 |
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 |