@extends('layouts.app') @push('css') @endpush @section('content')
# | Stock | Quantity | Date | Product Type | Usage Type | Department | Selling Price | Total Selling | Cost Price | Total Cost | By | Action |
---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ $loop->iteration }} | {{ $log->stock->name }} | {{ $log->quantity }} | {{ convert_date2($log->log_date) }} | {{ array_search($log->product_type,config('stock_type_name.'.config('app.store'))) }} | {{ $log->usage_type }} | {{ $log->department }} | {{ number_format($log->selling_price,2) }} | {{ number_format(($log->selling_price * $log->quantity ),2) }} | {{ number_format($log->cost_price,2) }} | {{ number_format(($log->cost_price * $log->quantity ),2) }} | {{ $log->user->name }} | @if(userCanView('stocklog.edit',$log->id)) Edit @endif @if(userCanView('stocklog.delete_log',$log->id)) Delete @endif |