@extends('layouts.app') @section('title', '| Customers') @section('content')
@lang('customers.title')
@foreach($customers as $cust) @endforeach
# @lang('customers.name') @lang('customers.address') @lang('customers.phone') @lang('customers.date') @lang('customers.control')
{{ $cust->id }} {{ $cust->name }} {{ $cust->address }} {{ $cust->phone }} {{ date('d-M-y-g:i ', strtotime($cust->created_at)) }} {{Form::open(['route' => ['customers.destroy', $cust->id], 'method' => 'DELETE' , 'id' => 'deleteCustomersForm'])}} {{Form::button(' '.trans('button.delete'), ['class'=>'btn btn-xs btn-danger deleteCustomersBtn', 'type'=>'submit', 'data-id' => $cust->id]) }} {{Form::close()}}
    {{$customers->links()}}
@endsection