<?php $__env->startSection('title', __('GSTR-3B')); ?>

<?php $__env->startSection('content'); ?>

    <!-- Content Header (Page header) -->
    <section class="content-header">
        <h1><?php echo e(__('GSTR-3B'), false); ?></h1>
    </section>

    <!-- Main content -->
    <section class="content">
        <div class="row">
            <div class="col-md-12">
                <table class="table">
                    <?php $__currentLoopData = $business_details; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <tbody>
                            <tr>
                                <th scope="row" class="gst_report">GSTIN</th>
                                <td><?php echo e($item->tax_number_1, false); ?></td>
                                <td class="gst_report_line_2">Financial Year</td>
                                <td>
                                    <select class="form-select">
                                        <option selected>2023-2024</option>
                                        <option>2024-Continue</option>
                                    </select>
                                </td>
                                <td colspan="2" rowspan="2" class="gst_report">Sheet Status:</td>
                                <td colspan="2" rowspan="2">Active</td>
                            </tr>
                            <tr>
                                <th scope="row" class="gst_report">Legal name of the registered person</th>
                                <td><?php echo e($item->name, false); ?></td>
                                <td class="gst_report_line_2">Month</td>
                                <td>
                                    <select class="form-select" id="monthSelect">
                                        <option value="1" <?php echo e(Request::input('month') == 1 ? 'selected' : '', false); ?>>January</option>
                                        <option value="2" <?php echo e(Request::input('month') == 2 ? 'selected' : '', false); ?>>February</option>
                                        <option value="3" <?php echo e(Request::input('month') == 3 ? 'selected' : '', false); ?>>March</option>
                                        <option value="4" <?php echo e(Request::input('month') == 4 ? 'selected' : '', false); ?>>April</option>
                                        <option value="5" <?php echo e(Request::input('month') == 5 ? 'selected' : '', false); ?>>May</option>
                                        <option value="6" <?php echo e(Request::input('month') == 6 ? 'selected' : '', false); ?>>June</option>
                                        <option value="7" <?php echo e(Request::input('month') == 7 ? 'selected' : '', false); ?>>July</option>
                                        <option value="8" <?php echo e(Request::input('month') == 8 ? 'selected' : '', false); ?>>August</option>
                                        <option value="9" <?php echo e(Request::input('month') == 9 ? 'selected' : '', false); ?>>September</option>
                                        <option value="10" <?php echo e(Request::input('month') == 10 ? 'selected' : '', false); ?>>October</option>
                                        <option value="11" <?php echo e(Request::input('month') == 11 ? 'selected' : '', false); ?>>November</option>
                                        <option value="12" <?php echo e(Request::input('month') == 12 ? 'selected' : '', false); ?>>December</option>
                                    </select>
                                </td>
                            </tr>
                        </tbody>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </table>

                <table class="table">
                    <thead>
                        <tr>
                            <th colspan="6" class="table_2">
                                3.1 Details of Outward Supplies and inward supplies liable to reverse charge
                            </th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr class="table_2_head">
                            <th>Nature of Supplies</th>
                            <td>Total Taxable value</td>
                            <td>Integrated Tax</td>
                            <td>Central Tax</td>
                            <td>State/UT Tax</td>
                            <td>Cess</td>
                        </tr>
                        <tr class="table_2_head_3">
                            <th>1</th>
                            <td>2</td>
                            <td>3</td>
                            <td>4</td>
                            <td>5</td>
                            <td>6</td>
                        </tr>
                        <tr>
                            <th>(a) Outward Taxable supplies (other than zero rated, nil rated and exempted)</th>
                            <td class="Rs_Section"><?php echo e($totalSum, false); ?></td>
                            <td class="Rs_Section"><?php echo e($totalIGST, false); ?></td>
                            <td class="Rs_Section"><?php echo e($totalCGST, false); ?></td>
                            <td class="Rs_Section"><?php echo e($totalSGST, false); ?></td>
                            <td class="Rs_Section">Rs 0</td>
                        </tr>   
                        <tr>
                            <th>(b) Outward Taxable supplies (zero rated )</th>
                            <td class="Rs_Section"><?php echo e($totalSumWithoutTaxable, false); ?></td>
                            <td class="table_2_head_3"></td>
                            <td class="table_2_head_3"></td>
                            <td class="Rs_Section"><?php echo e($totalIGSTWithoutTaxable, false); ?></td>
                            <td class="Rs_Section">Rs 0</td>
                        </tr>
                        <tr>
                            <th>(c) Other Outward Taxable supplies (Nil rated, exempted)</th>
                            <td class="Rs_Section"><?php echo e($totalSumWithoutTaxable, false); ?></td>
                            <td class="table_2_head_3"></td>
                            <td class="table_2_head_3"></td>
                            <td class="table_2_head_3"></td>
                            <td class="table_2_head_3"></td>
                        </tr>
                        <tr>
                            <th>(d) Inward supplies (liable to reverse charge) </th>
                            <td class="Rs_Section">Rs 0</td>
                            <td class="Rs_Section">Rs 0</td>
                            <td class="Rs_Section">Rs 0</td>
                            <td class="Rs_Section">Rs 0</td>
                            <td class="Rs_Section">Rs 0</td>
                        </tr>
                        <tr>
                            <th>(e) Non-GST Outward supplies</th>
                            <td class="Rs_Section"><?php echo e($finalGSTTotal, false); ?></td>
                            <td class="table_2_head_3"></td>
                            <td class="table_2_head_3"></td>
                            <td class="table_2_head_3"></td>
                            <td class="table_2_head_3"></td>
                        </tr>
                        <tr class="total_section">
                            <th>Total</th>
                            <td>Rs 0</td>
                            <td>Rs 0</td>
                            <td>Rs 0</td>
                            <td>Rs 0</td>
                            <td>Rs 0</td>
                        </tr>
                    </tbody>
                </table>
                <table class="table">
                    <thead>
                        <tr>
                            <th colspan="6" class="table_3">
                                4. Eligible ITC
                            </th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr class="table_3_head">
                            <th>Details</th>
                            <td>Integrated Tax</td>
                            <td>Central Tax</td>
                            <td>State/UT Tax</td>
                            <td>Cess</td>
                        </tr>
                        <tr class="table_3_head_3">
                            <th>1</th>
                            <td>2</td>
                            <td>3</td>
                            <td>4</td>
                            <td>5</td>
                        </tr>
                        <tr>
                            <th>(A) ITC Available (Whether in full or part)</th>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                        </tr>
                        <tr>
                            <th>(1) Import of goods </th>
                            <td class="Import-of-goods"><?php echo e($GstCount, false); ?></td>
                            <td class="Import-of-goods-plain"></td>
                            <td class="Import-of-goods-plain"></td>
                            <td class="Import-of-goods">Rs 0</td>
                        </tr>
                        <tr>
                            <th>(2) Import of services </th>
                            <td class="Import-of-goods">Rs 0</td>
                            <td class="Import-of-goods-plain"></td>
                            <td class="Import-of-goods-plain"></td>
                            <td class="Import-of-goods">Rs 0</td>
                        </tr>
                        <tr>
                            <th>(3) Inward supplies liable to reverse charge
                                (other than 1 &2 above)</th>
                            <td class="Import-of-goods">Rs 0</td>
                            <td class="Import-of-goods">Rs 0</td>
                            <td class="Import-of-goods">Rs 0</td>
                            <td class="Import-of-goods">Rs 0</td>
                        </tr>
                        <tr>
                            <th>(4) Inward supplies from ISD</th>
                            <td class="Import-of-goods">Rs 0</td>
                            <td class="Import-of-goods">Rs 0</td>
                            <td class="Import-of-goods">Rs 0</td>
                            <td class="Import-of-goods">Rs 0</td>
                        </tr>
                        <tr>
                            <th>(5) All other ITC</th>
                            <td class="Import-of-goods">Rs 0</td>
                            <td class="Import-of-goods">Rs 0</td>
                            <td class="Import-of-goods">Rs 0</td>
                            <td class="Import-of-goods">Rs 0</td>
                        </tr>
                        <tr>
                            <th> (B) ITC Reversed</th>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                        </tr>
                        <tr>
                            <th>(1) As per rules 38,42 & 43 of CGST Rules and section 17(5)</th>
                            <td class="Import-of-goods">Rs 0</td>
                            <td class="Import-of-goods">Rs 0</td>
                            <td class="Import-of-goods">Rs 0</td>
                            <td class="Import-of-goods">Rs 0</td>
                        </tr>
                        <tr>
                            <th>(2) Others</th>
                            <td class="Import-of-goods">Rs 0</td>
                            <td class="Import-of-goods">Rs 0</td>
                            <td class="Import-of-goods">Rs 0</td>
                            <td class="Import-of-goods">Rs 0</td>
                        </tr>
                        <tr class="sizeset">
                            <th> (C) Net ITC Available (A)-(B)</th>
                            <td class="text-center">Rs 0</td>
                            <td class="text-center">Rs 0</td>
                            <td class="text-center">Rs 0</td>
                            <td class="text-center">Rs 0</td>
                        </tr>
                        <tr>
                            <th> (D) Other Details</th>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                        </tr>
                        <tr>
                            <th>(1) ITC reclaimed which was reversed under Table 4(B)(2) in earlier tax period</th>
                            <td class="Import-of-goods">Rs 0</td>
                            <td class="Import-of-goods">Rs 0</td>
                            <td class="Import-of-goods">Rs 0</td>
                            <td class="Import-of-goods">Rs 0</td>
                        </tr>
                        <tr>
                            <th>(2) Ineligible ITC under section 16(4) & ITC restricted due to PoS rules</th>
                            <td class="Import-of-goods">Rs 0</td>
                            <td class="Import-of-goods">Rs 0</td>
                            <td class="Import-of-goods">Rs 0</td>
                            <td class="Import-of-goods">Rs 0</td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </section>
    <!-- /.content -->

<?php $__env->stopSection(); ?>

<?php $__env->startSection('javascript'); ?>
    <script src="<?php echo e(asset('js/report.js?v=' . $asset_v), false); ?>"></script>
    <script>
        document.getElementById('monthSelect').addEventListener('change', function() {
            var selectedMonth = this.value;
            var baseUrl = "/reports/gstr-3b";
            var url = baseUrl + "?month=" + encodeURIComponent(selectedMonth.toLowerCase());
            window.location.href = url;
        });
    </script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/aror4382/eway-einvoice.netbas.in/resources/views/report/Gstr_3b.blade.php ENDPATH**/ ?>