@extends('layout.app') @section('title', 'View Stock Journal') @section('content')

Stock Journal #{{ $journal->voucher_no }}

@if($journal->status == 'Posted') Posted @else Cancelled @endif Back

Voucher Date

{{ date('d M Y', strtotime($journal->voucher_date)) }}

Reference

{{ $journal->reference ?: '-' }}

Created By

{{ $journal->creator ? $journal->creator->name : '-' }}
Stock Out
@foreach($outDetails as $out) @endforeach
Item Name Quantity Rate Value
{{ $out->item ? $out->item->name : 'N/A' }} {{ $out->quantity }} ₹{{ number_format($out->rate, 2) }} ₹{{ number_format($out->value, 2) }}
Total: ₹{{ number_format($journal->total_stock_out, 2) }}
Stock In
@foreach($inDetails as $in) @endforeach
Item Name Quantity Rate Value
{{ $in->item ? $in->item->name : 'N/A' }} {{ $in->quantity }} ₹{{ number_format($in->rate, 2) }} ₹{{ number_format($in->value, 2) }}
Total: ₹{{ number_format($journal->total_stock_in, 2) }}
@if($journal->narration)

Narration

{{ $journal->narration }}

@endif
@endsection