@extends('layouts.app') @section('css') @endsection @section('content-header')
{{__('commons.action')}} | {{__('commons.date')}} | {{__('commons.added_by')}} | {{__('inventory.added_amount')}} | {{__('inventory.consume_amount')}} | {{__('inventory.balance')}} |
---|---|---|---|---|---|
{{ $inventoryStock->created_at }} | {{ optional($inventoryStock->creator)->name }} | @if ($inventoryStock->quantity > 0) {{ $inventoryStock->quantity }} {{ $selectedInventory->unit }} @else -- @endif | @if ($inventoryStock->quantity < 0) {{ abs($inventoryStock->quantity) }} {{ $selectedInventory->unit }} @else -- @endif | {{ $cumulativeSum = $cumulativeSum + $inventoryStock->quantity }} {{ $selectedInventory->unit }} | |
{{ $selectedInventory->totalStockQuantity }} | {{ $selectedInventory->totalConsumeQuantity }} | {{ $selectedInventory->currentStockQuantity }} |