@extends('user_navbar') @section('content') {{-- Transfer Modal --}} {{-- End Transfer Modal --}}
@if (session('success'))
{{ session('success') }}
@endif @if (session('danger'))
{{ session('danger') }}
@endif

All Mobiles

@foreach ($result as $item) @if ($item instanceof App\Models\Mobile) @elseif ($item instanceof App\Models\TransferRecord) @endif @endforeach
Added at Mobile Name IMEI# SIM Lock Color Storage Battery Health Cost Price Selling Price Availability Received From Received Date Transfer
{{ \Carbon\Carbon::parse($item->created_at)->format(' Y-m-d / h:i ') }} @if(empty($item->mobile_name_id)) {{ $item->mobile_name }} @elseif($item->mobileName) {{ $item->mobileName->name }} @else N/A @endif {{ $item->imei_number }} {{ $item->sim_lock }} {{ $item->color }} {{ $item->storage }} {{ $item->battery_health }} {{ $item->cost_price }} {{ $item->selling_price }} {{ $item->availability }} N/A N/A
{{ \Carbon\Carbon::parse($item->mobile->created_at)->format(' Y-m-d / h:i ') }} @if(empty($item->mobile->mobile_name_id)) {{ $item->mobile->mobile_name }} @elseif($item->mobile->mobileName) {{ $item->mobile->mobileName->name }} @else N/A @endif {{ $item->mobile->imei_number }} {{ $item->mobile->sim_lock }} {{ $item->mobile->color }} {{ $item->mobile->storage }} {{ $item->mobile->battery_health }} {{ $item->mobile->cost_price }} {{ $item->mobile->selling_price }} {{ $item->mobile->availability }} {{ $item->fromUser->name }} {{ $item->created_at }}
@endsection