No current workflow at the moment
{{ session('danger') }}
| Material Type | Current Stock | SAP stock | Variance | @if (count($stocks) > 0) @foreach ($stocks as $item)
|---|---|---|---|
| {{ $item->types->material_type_name }} | {{ $item->total_current }} | {{ $item->total_sap }} | {{ $item->total_current - $item->total_sap }} |
| Explanation | Signature | Date | Action | @if ($my_comment && $my_comment->comments) @foreach ($my_comment->comments as $comment)
|---|---|---|---|
| {{ $comment->comment }} | {{ date('M d, Y', strtotime($comment->created_at)) }} | Edit |
| Name | Role | Explanation | Signature | Date | @if ($other_comments && $other_comments->comments) @foreach ($other_comments->comments as $comment) @php $user = App\Models\User::where('id', $comment->user_id)->first(); $role = App\Http\Controllers\Helpers\HelperController::get_user_role($comment->role); @endphp
|---|---|---|---|---|
| {{ $user->name }} | {{ $role }} | {{ $comment->comment }} | {{ date('M d, Y', strtotime($comment->created_at)) }} |
{{ session('success') }}
| Material | Material Code | Current Stock | SAP Stock | Variance | Clerk Comment | @foreach ($materials as $item)
|---|---|---|---|---|---|
| {{ $item->materials->material_name }} | {{ $item->material_no }} | {{ $item->current_stock }} | {{ $item->sap_stock }} | {{ $item->sap_variance }} | {{ $item->comment ? $item->comment : 'No comment yet' }} |