@extends('layouts.customer') @section('title','Inbox | SmsBox') @section('content') {{trans('customer.inbound')}} {{trans('customer.smsbox')}} {{trans('customer.inbound')}} {{trans('customer.compose')}} @include('customer.smsbox.common') {{trans('customer.inbound')}} 1-50/200 {{trans('customer.from')}} {{trans('customer.to')}} {{trans('customer.message')}} {{trans('customer.received_at')}} {{trans('customer.address')}} @foreach($messages as $message) {{$message->formatted_number_from}} {{isset($device_name[$message->formatted_number_to])?$device_name[$message->formatted_number_to]:''}}({{isset($device_model[$message->formatted_number_to])?$device_model[$message->formatted_number_to]:''}}) {{$message->body}} {{$message->time}} {{isset($contact_address[$message->formatted_number_from])?$contact_address[$message->formatted_number_from]:''}} @endforeach {{$messages->links("pagination::bootstrap-4")}} @endsection @section('extra-scripts') @endsection