@extends('layouts.master') @section('page_title', 'Purchase Details') @section('title', 'Purchase Details') @section('main_item', 'Purchases') @section('sub_item', 'Add Purchases') @section('content')

Edit Purchases

Add
@foreach ($grn_items as $count => $grn_item) @endforeach
@csrf
@foreach ($grn_items as $count => $grn_item) @php $stock_id = app\PurchasePayment::where('purchase_id', $grn_item->grn_id)->first(); @endphp @if ($grn_item->currency_type == 'lkr') @endif @endforeach @else @foreach ($stocks as $stock) @endforeach @foreach ($stocks as $stock) @foreach ($stocks as $stock) @endforeach @endif @endforeach
Product Name Purchase No Purchase Quantity Purchase Price @if ($grn_item->currency_type == 'lkr') (LKR) @else (USD) @endif currency_type == 'lkr') style="display: none" @endif>Purchase Price Convert to LKR Selling Price @if ($grn_item->currency_type == 'lkr') (LKR) @else (USD) @endif currency_type == 'lkr') style="display: none" @endif>Selling Price Convert to LKR second_woocommerece_api_setting_enable != '1') style="display: none" @endif>Second Woocomerece Selling Price @if ($setting->select_currency_type == '1') (LKR) @else (USD) @endif Re Selling Price @if ($grn_item->currency_type == 'usd') (USD) @else (LKR) @endif Line Total Action
{{ $grn_item->product->product_name }} | {{ $grn_item->product->attribute_value }} {{ $grn->ref_no }} @foreach ($stocks as $stock) @if ($setting->second_woocommerece_api_setting_enable == '1') {{ $grn_item->grn_line_total }}
{{ $grn_item->product->product_name }} | {{ $grn_item->product->attribute_value }} @endforeach {{ $grn_item->grn_line_total }}

Total Cost

grn_discount)) value="{{ $grn->grn_discount }}" @else value="0" @endif>
@endsection @section('scripts') @endsection