@extends('layouts.app') @section('title', __('accounting-reports::lang.sales_journal')) @section('content')

@lang('accounting-reports::lang.sales_journal') @lang('accounting-reports::lang.automated_journal_entries')

@component('components.widget', ['class' => 'box-primary'])
{!! Form::label('start_date', __('accounting-reports::lang.start_date') . ':') !!} {!! Form::text('start_date', @format_date(\Carbon\Carbon::now()->startOfMonth()), ['class' => 'form-control date-picker', 'readonly', 'id' => 'start_date']) !!}
{!! Form::label('end_date', __('accounting-reports::lang.end_date') . ':') !!} {!! Form::text('end_date', @format_date('now'), ['class' => 'form-control date-picker', 'readonly', 'id' => 'end_date']) !!}
{!! Form::label('location_id', __('purchase.business_location') . ':') !!} {!! Form::select('location_id', $locations, null, ['class' => 'form-control select2', 'placeholder' => __('messages.all'), 'style' => 'width:100%', 'id' => 'location_filter']) !!}

@if(auth()->user()->can('accounting.export_reports')) @endif
@lang('accounting-reports::lang.voucher_no') @lang('accounting-reports::lang.voucher_date') @lang('accounting-reports::lang.invoice_no') @lang('accounting-reports::lang.customer') @lang('accounting-reports::lang.debit') @lang('accounting-reports::lang.credit') @lang('purchase.business_location') @lang('accounting-reports::lang.narration') @lang('messages.action')
@endcomponent
@endsection @section('javascript') @endsection