@extends('layouts.admin') @push('script-page') @endpush @section('page-title') {{__('Payment')}} @endsection @section('content')
{{ Form::open(array('route' => array('vender.payment'),'method' => 'GET','id'=>'frm_submit')) }}
{{ Form::label('date', __('Date'),['class'=>'text-type']) }} {{ Form::text('date', isset($_GET['date'])?$_GET['date']:null, array('class' => 'form-control datepicker-range')) }}
{{ Form::label('category', __('Category'),['class'=>'text-type']) }} {{ Form::select('category', [''=>'All']+$category,isset($_GET['category'])?$_GET['category']:'', array('class' => 'form-control select2')) }}
{{ Form::close() }}
@foreach ($payments as $payment) @endforeach
{{__('Date')}} {{__('Amount')}} {{__('Category')}} {{__('Description')}}
{{ Auth::user()->dateFormat($payment->date)}} {{ Auth::user()->priceFormat($payment->amount)}} {{ $payment->category}} {{ $payment->description}}
@endsection