<table>
    <tr>
        <td style="width: 300px;text-align: right">From </td>
        <td><strong>Generate Bill</strong> </td>
    </tr>
    <tr>
        <td style="width: 300px;text-align: right">SMS Type <br> <span style="color:#FF0000;font-size:12px">First Day Of
                Month</span></td>
        <td style="vertical-align: top"><strong>Auto</strong></td>
    </tr>


    <tr>
        <td style="width: 300px;text-align: right;">Send SMS</td>
        <td style="vertical-align: top">
            <div class="row">
                <div class="form-check">
                    <input class="form-check-input" type="radio" name="bill_generate_sendsms" id="bill_generate_yes"
                        @if ($bill_generate->sendsms == 'Yes') checked @endif value="Yes">
                    <label class="form-check-label" for="yes">
                        Yes
                    </label>
                </div>
                <div class="form-check">
                    <input class="form-check-input" type="radio" name="bill_generate_sendsms" id="bill_generate_no"
                        @if ($bill_generate->sendsms == 'No') checked @endif value="No">
                    <label class="form-check-label" for="no">
                        No
                    </label>
                </div>
            </div>

        </td>
    </tr>

    <tr>
        <td style="width: 300px;text-align: right;vertical-align: top">SMS Massage* <br>
            <span style="color:#FF0000;font-size:12px">Type Text here</span>
        </td>
        <td style="width: 600px">

            <textarea class="form-control" id="bill_generate_sms_body" spellcheck="false" rows="10">{{ $bill_generate->sms_body }}</textarea>

        </td>
        <td style="width: 300px">
            <textarea class="form-control" id="bill_generate_sms_fiels" spellcheck="false" rows="10" readonly>{c_id}&#10;{c_code}&#10;{c_password}&#10;{c_username}&#10;{c_name}&#10;{TotalDue}&#10;{ThisMonth}&#10;{billing_deadline}&#10;{MonthBillAmount}&#10;{MonthDiscountAmount}&#10;{expireDate}&#10;{company_name}&#10;{company_cell}&#10;{bill_type}&#10;{payment_url}</textarea>

        </td>
    </tr>
</table>
<div class="row mt-2">
    <div class="col-md-12">
        @can('view-sms-log-history')
            <div class="float-right">
                <a href="{{ route('editLog-history', ['id' => $smsSetting[7]->id, 'type' => $smsSetting[7]->tamplate_name]) }}"
                    class="btn btn-info pull-right">History</a>
            </div>
        @endcan
        <div class="float-right">
            <button type="submit" id="bill_generate_submit"
                class="btn btn-default bg-primary float-right">Submit</button>
        </div>
        <div class="float-right">
            <button type="submit" id="bill_generate_reset" class="btn btn-default float-right mr-2">Reset</button>
        </div>
    </div>


</div>
