@extends('admin.app_main') @section('content')
Upload Payslips
@if (session('success'))
{!! session('success') !!}
@endif @if (session('error'))
{!! session('error') !!}
@endif @if (session('warning'))
{!! session('warning') !!}
@endif
{{ csrf_field() }}
@if ($errors->has('file')) {{ $errors->first('file') }} @endif
@endsection @section('javascript') $('.date').datepicker({ format: 'yyyy-mm-dd', zIndexOffset: '1001', }); $('.input-group-addon-calendar').on('click',function(){ $(".date", $(this).closest(".input-group")).focus(); }); @endsection