@extends('layouts.sidebar') @section('content')
Units
Add Unit
@if (session('success'))
{{ session('success') }}
@endif
View Lease
Property Name
Unit Name
Renters Name
Size
Rate Type
Rate
Status
Actions
×
Add Units
@csrf
Property Name:
{{ $property->property_name }}
Street Address:
{{ $property->street_address }}
City:
{{ $property->city }}
State:
{{ $property->state }}
Zip Code:
{{ $property->zip }}
@csrf
Unit 1
Unit Name:
Size:
Rate Type:
Rate Type
Rate base
Per Square Meter
Rate:
Yearly Escalation:
Add Unit
Save Property
@foreach ($units as $unit)
Confirm Delete
×
Are you sure you want to delete this unit?
Cancel
@csrf @method('DELETE')
Delete
Edit Unit
×
@csrf
Unit {{ $unit->unit_id }}
Unit Name:
Size:
Rate Type:
rate_type ? 'selected' : '' }}>Rate Type
rate_type == 'Rate base' ? 'selected' : '' }}> Rate base
rate_type == 'Per Square Meter' ? 'selected' : '' }}> Per Square Meter
Rate:
Status:
status == 'Vacant' ? 'selected' : '' }}> Vacant
status == 'Occupied' ? 'selected' : '' }}> Occupied
status == 'Renovation' ? 'selected' : '' }}>Renovation
Update Unit
@endforeach @endsection @section('scripts') @endsection