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

Terminate Assignment

Unit: {{ $assignment->unit->UnitIdentity }} | Customer: {{ $assignment->customer->CustomerName }}

@if ($errors->any()) @endif

This action will mark the assignment as terminated and remove the customer from this unit. The customer will no longer be associated with this unit for billing purposes.

@csrf @method('PUT')

Assignment Details

Customer
{{ $assignment->customer->CustomerName }}
Unit
{{ $assignment->unit->UnitIdentity }}
Start Date
{{ $assignment->start_date->format('M d, Y') }}
Duration
{{ $assignment->start_date->diffInDays(now()) }} days
Cancel
@push('scripts') @endpush @endsection