@extends('user.layout.master') @section('title', 'Return Filing') @push('plugin-styles') @endpush @section('content') {{-- @dd(count($years)) --}} @if (count($years) == 1) @foreach ($years as $year) {{-- @if (!empty($year->return_type_gstr1) == 'GSTR1') --}} {{--

Return Filing


@php $data = []; if (!empty($year)) { if (!empty($year->gstr1_file)) { $data = json_decode($year->gstr1_file); } } @endphp
GSTR 1 Return Files
@foreach ($data as $datas) @endforeach
GSTR 1 Comment
{{ $errors->first('gstr1_comment') }}
@php $data = []; if (!empty($year)) { if (!empty($year->gstr3b_file)) { $data = json_decode($year->gstr3b_file); } } @endphp
GSTR 3B Return Files
@foreach ($data as $datas) @endforeach
GSTR 3B Comment
{{ $errors->first('gstr1_comment') }}
--}} {{--
--}} {{--
--}} {{--

Return Filing


@if (!empty($year->return_type_gstr1) == 'GSTR1') --}} {{-- --}} {{-- View Files --}} {{-- | View Files --}} {{-- --}} {{-- View Files --}} {{-- @else --}} {{-- --}} {{-- @endif
--}} {{--

@foreach ($chats as $chat)
@endforeach --}} {{--
--}} {{--
--}} {{--
GSTR 1 Comment
{{ $errors->first('gstr1_comment') }}
--}} {{-- @if (!empty($year->return_type_gstr1) == 'GSTR 3B') --}} {{--
GSTR 3B Return Files
@foreach ($data as $datas) @endforeach
GSTR 3B Comment
{{ $errors->first('gstr1_comment') }}
--}} {{-- @endif
--}} {{-- @else --}} @if (session('success'))
{{ session('success') }}
@endif

Return Filing


@csrf @php $firm = Auth::guard('user')->user()->firm_type; @endphp {{-- @if (!empty($year->return_type_gstr1) == 'GSTR 1') --}} {{-- @else @endif --}}
{{-- @if (!empty($year->return_type_gstr1) == 'GSTR 1') --}} {{-- @elseif (!empty($year->return_type_gstr3b) == 'GSTR 3B') @else --}} {{-- @endif --}} {{ $errors->first('return_type') }}
{{-- @if (!empty($year->return_type_gstr1) == 'GSTR 1') --}}
Upload Return Files
{{-- @else
Upload Return Files
@endif --}} {{-- @if (!empty($year->return_type_gstr1) == 'GSTR 1') --}}
Comment
{{ $errors->first('gstr3b_comment') }}
{{-- @else
Comment
{{ $errors->first('gstr1_comment') }}
@endif --}} {{--
Confirmation
--}} {{-- --}}
{{-- @endif --}} @endforeach @elseif(count($years) == 2) @if (session('success'))
{{ session('success') }}
@endif

Return Filing


@csrf @php $firm = Auth::guard('user')->user()->firm_type; @endphp {{-- @if (!empty($year->return_type_gstr1) == 'GSTR 1') --}} {{-- --}} {{-- @else --}} {{-- @endif --}}
{{-- @if (!empty($year->return_type_gstr1) == 'GSTR 1') --}} {{-- --}} {{-- @elseif (!empty($year->return_type_gstr3b) == 'GSTR 3B') @else --}} {{-- --}} {{-- @endif --}} {{ $errors->first('return_type') }}
{{-- @if (!empty($year->return_type_gstr1) == 'GSTR 1') --}} {{--
Upload Return Files
--}} {{-- @else --}} {{--
Upload Return Files
--}} {{-- @endif --}} {{-- @if (!empty($year->return_type_gstr1) == 'GSTR 1') --}} {{--
Comment
{{ $errors->first('gstr3b_comment') }}
--}} {{-- @else --}} {{--
Comment
{{ $errors->first('gstr1_comment') }}
--}} {{-- @endif --}} {{--
Confirmation
--}} {{-- --}}
@else @if (session('success'))
{{ session('success') }}
@endif

Return Filing


@csrf @php $firm = Auth::guard('user')->user()->firm_type; @endphp {{-- @if (!empty($year->return_type_gstr1) == 'GSTR 1') --}} {{-- --}} {{-- @else --}} {{-- @endif --}}
{{-- @if (!empty($year->return_type_gstr1) == 'GSTR 1') --}} {{-- --}} {{-- @elseif (!empty($year->return_type_gstr3b) == 'GSTR 3B') @else --}} {{-- @endif --}} {{ $errors->first('return_type') }}
{{-- @if (!empty($year->return_type_gstr1) == 'GSTR 1') --}} {{--
Upload Return Files
--}} {{-- @else --}}
Upload Return Files
{{-- @endif --}} {{-- @if (!empty($year->return_type_gstr1) == 'GSTR 1') --}} {{--
Comment
{{ $errors->first('gstr3b_comment') }}
--}} {{-- @else --}}
Comment
{{ $errors->first('gstr1_comment') }}
{{-- @endif --}} {{--
Confirmation
--}} {{-- --}}
@endif {{-- @foreach ($years as $year) @if ($year->return_type_gstr1 == 'GSTR3B') --}} {{-- @endif --}} {{-- @endforeach --}} @endsection @push('plugin-styles') @endpush @push('plugin-scripts') {{-- --}} {{-- --}} @endpush @push('custom-scripts') @endpush