@extends('sms::layouts.master') @section('content')

@if ($sms->hasPages())
@php $from = ($sms->currentPage() - 1) * $sms->perPage() + 1; $to = min($sms->total(), $sms->currentPage() * $sms->perPage()); @endphp {{ $from }}–{{ $to }}/{{ $sms->total() }}
{{-- Previous Page --}} @if ($sms->onFirstPage()) @else @endif {{-- Next Page --}} @if ($sms->hasMorePages()) @else @endif
@endif

{{-- Quick SMS --}} {{-- /Quick SMS --}}
{{-- Modal --}} {{-- Toast --}} @if (session('success')) @endif @if ($errors->any()) @foreach ($errors->all() as $error) @endforeach @enderror {{-- /Toast --}} @endsection