@extends('layouts.app') @section('title', __('Marekebisho ya Stoo')) @section('content') @php $reasons = ['damaged' => 'Imeharibika', 'expired' => 'Imepita muda', 'lost' => 'Imepotea', 'found' => 'Imepatikana (ziada)', 'correction' => 'Kusahihisha', 'sample' => 'Sampuli/Promosheni']; @endphp
| {{ __('Tarehe') }} | {{ __('Bidhaa') }} | {{ __('Idadi') }} | {{ __('Sababu') }} | {{ __('Aliyeomba') }} | {{ __('Hali') }} | |
|---|---|---|---|---|---|---|
| {{ $a->created_at->format('d/m H:i') }} | {{ $a->product->name }} {{ $a->branch->name }} · {{ $a->note }} |
{{ $a->qty > 0 ? '+' : '' }}{{ $a->qty }} | {{ __($reasons[$a->reason] ?? $a->reason) }} | {{ $a->requester->name }} | {!! status_badge($a->status) !!}@if ($a->approver) {{ $a->approver->name }} @endif |
@if ($a->status === 'pending' && auth()->user()->allows('stock.adjust_approve'))
|
| {{ __('Hakuna marekebisho') }} | ||||||