<div>
  <div class="table-responsive">
    <table class="table table-striped ">
      <thead>
        <tr class="headings">
          {{-- <th>#</th> --}}
          <th class="column-title">Name</th>
          <th class="column-title">Code</th>
          <th class="column-title">Network</th>
          <th class="column-title">Toll Free</th>
          <th class="column-title">Monthly Fee</th>
          <th class="column-title">Status</th>
          <th class="column-title">Launch Date</th>
          <th class="column-title">Renewal Date</th>
          <th class="column-title no-link last"><span class="nobr">Action</span>
          </th>

        </tr>
      </thead>
      <tbody>
        @if ($sms_codes->isEmpty())
        <tr>
          <td class="" colspan="12">No Records found</td>
        </tr>
        @else
        @foreach ($sms_codes as $row)
        <tr class="even pointer">
          <td class="mes-td col-md-2">{{ $row->name }}</td>
          <td class="mes-td col-md-1">{{ $row->shortcode }}</td>
          <td class="mes-td col-md-2">{{ $row->network }}</td>
          <td class="mes-td col-md-1">{{ $row->toll_free }}</td>
          <td class="mes-td col-md-1">{{ $row->monthly_fee }}</td>
          <td class="mes-td col-md-1">{{ $row->status }}</td>
          <td class="mes-td col-md-1" style="width: 100px;">{{ date('d-m-Y', strtotime($row->launch_date)) }}</td>
          <td class="mes-td col-md-1" style="width: 100px;">
            @if($row->expiry_date == false)
              {{ "Not found"}}
            @else
              {{ date('d-m-Y', strtotime($row->expiry_date)) }}
            @endif
          </td>
          <td class="last col-md-1" style="width: 100px;">
            <span>
              <input type="hidden" name="short_code_entry_id" value="{{ $row->id }}" class="shortCodeEntryRowId">
              <a href="" class="btn btn-xs btn-primary shortCodeEditBtn"><i class="fa fa-edit"></i></a>
            </span>
          </td>
        </tr>
        @endforeach
        @endif
      </tbody>
    </table>
</div>
</div>
