@extends('hotel_workspace.layout') @section('hotel-content')
{{ request('kind','consumable')==='asset' ? 'Fixed assets belong to the business and are reused, such as beds, chairs and bedsheets.' : 'Consumables are supplies used in managing the rooms, such as tissues, soap and cleaning materials.' }}
Total cost in store: SSP {{ number_format($items->sum(fn($p)=>(float)$p->stock_quantity*(float)$p->buying_price),2) }}| Item | Type | In store | Buying price (SSP) | Total Cost (SSP) | Stock Controls |
|---|---|---|---|---|---|
| {{ $item->name }} | {{ $item->kind==='asset'?'Fixed asset':'Consumable' }} | {{ number_format($item->stock_quantity,2) }} | {{ number_format($item->buying_price,2) }} | {{ number_format($item->stock_quantity*$item->buying_price,2) }} | @if(auth()->user()->hasPermission('hotel_store.manage')) @if($item->kind==='asset')@endif
@include('hotel_workspace.record_actions',['recordType'=>'product','recordId'=>$item->id,'recordModule'=>'hotel-store']) @endif |
| {{ request('kind','consumable')==='asset'?'Add your fixed assets to get started.':'Add your consumables to get started.' }} | |||||
| Date | Item | Activity | Room | Quantity | Store balance | Staff / Note |
|---|---|---|---|---|---|---|
| {{ $m->created_at }} | {{ $m->name }} | {{ ['receive'=>'Stock received','adjust'=>'Stock adjusted','dispatch'=>'Dispatched to room','return'=>'Returned from room'][$m->action] }} | {{ $m->room_no ?: '—' }} | {{ number_format($m->quantity,2) }} | {{ number_format($m->after_quantity,2) }} | {{ $m->staff }} {{ $m->note }} |
| No stock movements yet. | ||||||
| Item | Room | Quantity |
|---|---|---|
| {{ $allocation->name }} | {{ $allocation->room_no }} | {{ number_format($allocation->quantity,2) }} |
| No assets assigned to rooms. | ||