parfum/resources/views/livewire/studio/stock/stock-opname/manage.blade.php
Yoga Pangestu 293dd7d1fd refactor: restructure stock management components and update routes
- Removed legacy stock management components including PurchaseForm, RestockForm, StockOpnameForm, and StockTransferForm.
- Updated routes to reflect new structure under 'studio.stock' namespace for better organization.
- Adjusted view files for stock management to align with the new routing and component structure.
- Modified action routes in the ViewServiceProvider to ensure proper access control and navigation.
- Cleaned up related test files to remove references to deleted components.
2026-01-09 21:57:06 +07:00

49 lines
2.1 KiB
PHP

<flux:main>
<div class="flex justify-between items-center">
<div>
<flux:heading size="xl">{{ $pageTitle }}</flux:heading>
</div>
<div>
<flux:button href="{{ route('studio.stock.stock_opname.index') }}" wire:navigate class="text-sm">
Kembali
</flux:button>
</div>
</div>
<div class="mt-6">
<div class="space-y-4">
<flux:card>
<flux:table>
<flux:table.columns>
<flux:table.column>Item</flux:table.column>
<flux:table.column>Stok Sistem</flux:table.column>
<flux:table.column>Stok Outlet</flux:table.column>
<flux:table.column>Selisih</flux:table.column>
</flux:table.columns>
<flux:table.rows>
@foreach ($items as $item)
<flux:table.row wire:key="{{ $item->id }}">
<flux:table.cell>{{ $item->itemable?->name }}</flux:table.cell>
<flux:table.cell>{{ $item->qty_system }}</flux:table.cell>
<flux:table.cell>
<flux:input wire:model.blur="form.outlet_stock.{{ $item->id }}"
x-mask:dynamic="$money($input, ',')" autocomplete="off" />
</flux:table.cell>
<flux:table.cell variant="strong">
{{ $item->difference }}
</flux:table.cell>
</flux:table.row>
@endforeach
</flux:table.rows>
</flux:table>
</flux:card>
<flux:card>
<flux:textarea label="Catatan" placeholder="Blue emotion tumpah 10ml" wire:model.blur="form.note"
autocomplete="off" rows="2" />
</flux:card>
</div>
</div>
</flux:main>