{{ config('settings.company_name') }}
{{ config('settings.address_1') }}
{{ $heading }}
@php $cost_fixed_amount = $item->cost_fixed_amount; if(!$cost_fixed_amount){ $cost_fixed_amount = $item->flat_size * $item->cost_per_size; } @endphp
{{__('lang.property_detail')}}
{{__('lang.project')}} {{__('lang.unit_no')}} {{__('lang.type')}} {{__('lang.block')}} / {{__('lang.floor')}} {{__('lang.size')}} {{__('lang.cost')}} {{$transaction->systemSettingCurrency()}} {{__('lang.sale')}} {{$transaction->systemSettingCurrency()}} {{__('lang.additional')}} {{$transaction->systemSettingCurrency()}}
{{$item->branch->name}} {{$item->product_unique_id}} {{$item->type->name ?? '-'}} @if($item->block_id == null) {{$item->floor->name ?? '-'}} @elseif($item->int_floor_number == null) {{$item->block->name ?? '-'}} @else {{$item->block->name}} / {{$item->floor->name}} @endif {{$item->flat_size}} {{$item->size_in}} {{$transaction->convert_money_format($cost_fixed_amount)}} {{$transaction->convert_money_format($item->fixed_amount)}} {{$transaction->convert_money_format(($item->additional_charges))}}
@foreach ($item->get_sells as $sells) @php if($sells->is_transfered == 1) { $status = 'TRANSFERED'; } else { $status = $sells->status; } if(empty($sells->sells_date)) { $sells_date = $sells->sale_date_v2; } else { $sells_date = $sells->sells_date; } @endphp @if($sells->status == 'BUY BACK') @else @endif @endforeach
{{$status}}
{{__('lang.registration_no')}} {{__('lang.buyback_date')}} {{__('lang.customer_name')}} {{__('lang.schedule')}} {{$transaction->systemSettingCurrency()}} {{__('lang.discount')}} {{$transaction->systemSettingCurrency()}} {{__('lang.paid_by_customer')}} {{__('lang.purchase')}} {{$transaction->systemSettingCurrency()}} {{__('lang.profit_loss')}}
{{$sells->registration_no}} {{$transaction->date_format($sells->sell_buy_back->buyback_date)}} {{$sells->customer->name}} {{$transaction->convert_money_format($sells->sell_buy_back->schedule_amount)}} {{$transaction->convert_money_format(0)}} {{$transaction->convert_money_format($sells->sell_buy_back->paid_by_customer)}} {{$transaction->convert_money_format($sells->sell_buy_back->purchase_amount)}} {{$transaction->convert_money_format($sells->sell_buy_back->paid_by_customer - $sells->sell_buy_back->purchase_amount)}}
{{__('lang.registration_no')}} {{__('lang.sale_date')}} {{__('lang.customer_name')}} {{__('lang.sale')}} {{$transaction->systemSettingCurrency()}} {{__('lang.discount')}} {{$transaction->systemSettingCurrency()}} {{__('lang.internal_dealer')}} {{__('lang.external_dealer')}} {{__('lang.total_received_amount')}} {{$transaction->systemSettingCurrency()}}
{{$sells->registration_no}} {{$transaction->date_format($sells_date)}} {{$sells->customer->name}} {{$transaction->convert_money_format($sells->net_amount)}} {{$transaction->convert_money_format($sells->discount_amount)}} {{$transaction->convert_money_format($sells->sell_internal_dealer_rebate->sum('rebate_amount'))}} {{$transaction->convert_money_format($sells->sell_external_dealer_rebate->sum('rebate_amount'))}} {{$transaction->convert_money_format($sells->ActualReceivedItem->sum('received_amount'))}}