@extends('layouts.app')
@section('title', trans('customer.list'))
@section('content')
{{ Form::open(['method' => 'get','class' => 'form-inline']) }}
{!! FormField::text('q', ['value' => request('q'), 'label' => trans('customer.search'), 'class' => 'input-sm']) !!}
{{ Form::submit(trans('customer.search'), ['class' => 'btn btn-sm']) }}
{{ link_to_route('customers.index', trans('app.reset')) }}
{{ Form::close() }}
| {{ trans('app.table_no') }} |
{{ trans('customer.name') }} |
{{ trans('contact.email') }} |
{{ trans('contact.phone') }} |
{{ trans('customer.projects_count') }} |
{{ trans('app.status') }} |
@foreach($customers as $key => $customer)
| {{ $customers->firstItem() + $key }} |
{{ $customer->nameLink() }} |
{{ $customer->email }} |
{{ $customer->phone }} |
{{ $customer->projects_count }} |
{{ $customer->is_active }} |
@endforeach
{{ $customers->appends(Request::except('page'))->render() }}
@endsection