@extends('layouts.app') @section('content')

Create Stock Adjustment

Stock Adjustments > Create

@if($errors->any()) @endif
@csrf
@if(isset($stock))

Selected Stock

Product: {{ $stock->product->product_name }}
Batch: {{ $stock->batch->batch_number }}
Available Qty: {{ number_format($stock->available_quantity, 4) }}
Cost Price: LKR {{ number_format($stock->cost_price, 2) }}
@endif @if(!isset($stock))

Select Stock

@error('stock_id')

{{ $message }}

@enderror
@endif

Adjustment Details

@error('type')

{{ $message }}

@enderror

Enter positive value only (decimal up to 4 places)

@error('quantity_adjusted')

{{ $message }}

@enderror
@error('reason')

{{ $message }}

@enderror

Defaults to today if not specified

@error('adjustment_date')

{{ $message }}

@enderror
@error('notes')

{{ $message }}

@enderror
Cancel

Adjustment Summary

Current Quantity -
Adjustment -
New Quantity -
Cost Price -
Total Value Impact -

This adjustment will be pending approval before affecting stock levels and accounting.

@endsection