@extends('layouts.master') @section('page_title', 'View Details') @section('title', 'Supplier Details') @section('main_item', 'Supplier') @section('sub_item', 'View Details') @section('content')
{{ $supplier->business_name }}
{{ $supplier->name }}
{{--Address
{{ $supplier->landmark }}
{{--{{ $supplier->city_id->name_en }}
--}} @if ($supplier->district_id != 0){{ $supplier->district->name_en }}
@endif{{ $supplier->state }}
Mobile
{{ $supplier->mobile }}
{{ $supplier->mobile_2 }}
{{ $supplier->landline }}
Business Location
@php $location_ids = App\BusinessLocation::all(); @endphp @foreach ($location_ids as $location_id) @if ($location_id->id == $supplier->location_id) {{ $location_id->name }} @endif @endforeachTotal purchase
Rs. {{ number_format($purchase_payment, 2) }}
Total purchase Returns
Rs. {{ number_format($purchase_return_sum, 2) }}
Actual Purchase
Rs. {{ number_format($purchase_payment - $purchase_return_sum, 2) }}
{{--Total Sale Due
Rs 0.00
--}}