38 lines
1.4 KiB
PHP
38 lines
1.4 KiB
PHP
<p>{{ $purchasing->price }}</p>
|
|
<form method="POST" action="/devices/{{ $purchasing->device->device_id }}/purchasing">
|
|
@method('PUT')
|
|
@csrf
|
|
<label for="price">price:</label>
|
|
<input type="text" id="price" name="price" value="{{$purchasing->price}}" required>
|
|
@error('price')
|
|
<p>{{ $message }}</p>
|
|
@enderror
|
|
<br />
|
|
<label for="timestamp_warranty_end">timestamp_warranty_end:</label>
|
|
<input type="text" id="timestamp_warranty_end" name="timestamp_warranty_end"
|
|
value="{{$purchasing->timestamp_warranty_end}}" required>
|
|
@error('timestamp_warranty_end')
|
|
<p>{{ $message }}</p>
|
|
@enderror
|
|
<br />
|
|
<label for="timestamp_purchase">timestamp_purchase:</label>
|
|
<input type="text" id="timestamp_purchase" name="timestamp_purchase"
|
|
value="{{$purchasing->timestamp_purchase}}" required>
|
|
@error('timestamp_purchase')
|
|
<p>{{ $message }}</p>
|
|
@enderror
|
|
<br />
|
|
<label for="cost_centre">cost_centre:</label>
|
|
<input type="text" id="cost_centre" name="cost_centre" value="{{$purchasing->cost_centre}}" required>
|
|
@error('cost_centre')
|
|
<p>{{ $message }}</p>
|
|
@enderror
|
|
<br />
|
|
<label for="seller">seller:</label>
|
|
<input type="text" id="seller" name="seller" value="{{$purchasing->seller}}">
|
|
@error('seller')
|
|
<p>{{ $message }}</p>
|
|
@enderror
|
|
<input type="submit" value="Submit">
|
|
</form>
|