@extends('layouts.table')
@section('title', trans('menu.products') . ' ' . $d->name)
@section('thead')
{{ trans('product.amount') }} |
{{ trans('product.stock') }} |
{{ trans('lang.created_at') }} |
{{ trans('product.remark') }} |
@endsection
@section('tbody')
@foreach($list as $d)
@if(strcmp($d->mode, TRANS_INC) == 0)
+ {{ $d->amount }} |
@elseif(strcmp($d->mode, TRANS_DEC) == 0)
- {{ $d->amount }} |
@endif
{{ $d->stock }} |
{{ date('d M Y H:i:s', strtotime($d->created_at)) }} |
{{ $d->remark }} |
@endforeach
@endsection