{{ __('Assign SIM Card to Device') }}

🔗 Assign SIM Card to Device

SIM: {{ $simCard->sim_number }}

@if($errors->any())
Please fix the following errors:
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif

SIM Card Information

SIM Number

{{ $simCard->sim_number }}

@if($simCard->provider)

Provider

{{ $simCard->provider }}

@endif @if($simCard->plan_type)

Plan Type

{{ ucfirst(str_replace('_', ' ', $simCard->plan_type)) }}

@endif @if($simCard->monthly_cost)

Monthly Cost

PKR {{ number_format($simCard->monthly_cost, 2) }}

@endif

Select Device

@if($devices->count() > 0)
@csrf

Select an in-stock device to assign this SIM card

@foreach($devices as $device) @endforeach
@error('inventory_id')

{{ $message }}

@enderror

What happens when you assign?

  • • The SIM card status will change to "Assigned"
  • • The device will be linked to this SIM card
  • • The device's "includes_sim" field will be set to true
  • • You can view the assignment details on both SIM and device pages
Cancel
@else

No Devices Available

There are no in-stock devices available to assign this SIM card to.

Please add devices to inventory first.

@endif
@if($devices->count() > 0)

Available Devices Summary

Total Available

{{ $devices->count() }}

Device Models

{{ $devices->unique('device_model_id')->count() }}

Ready to Assign

{{ $devices->where('status', 'in_stock')->count() }}

@endif