<div class="container col-md-12">
    <table>
        <tr>
            <td style="width: 300px;text-align: right">From </td>
            <td><strong>Bill Payment</strong> </td>
        </tr>
        <tr>
            <td style="width: 300px;text-align: right">SMS Send <br> <span style="color:#FF0000;font-size:12px">Choose by
                    User</span> </td>
            <td style="vertical-align: top">
                <div class="row">
                    <div class="form-check">
                        <input class="form-check-input" type="radio" name="bill_payment_sms_send" id="bill_payment_sms_send_yes"
                            @if (isset($default_bill_payment) && $default_bill_payment->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_payment_sms_send" id="bill_payment_sms_send_no"
                            @if (isset($default_bill_payment) && $default_bill_payment->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_payment_sms_body" rows="10">@if (isset($default_bill_payment) && $default_bill_payment->sms_body){{ $default_bill_payment->sms_body }} @endif</textarea>

            </td>
            <td style="width: 300px">
                <textarea class="form-control" id="bill_payment_sms_field" rows="10" readonly>{c_id}&#10;{c_code}&#10;{c_password}&#10;{c_username}&#10;{c_name}&#10;{c_expire_date}&#10;{c_package}&#10;{PaymentAmount}&#10;{PaymentDiscount}&#10;{PaymentMethod}&#10;{TotalDue}&#10;{MoneyreciptNo}&#10;{TrxId}&#10;{payment_date}&#10;{payment_description}&#10;{company_name}&#10;{company_cell}</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[3]->id, 'type' => $smsSetting[3]->tamplate_name]) }}"
                        class="btn btn-info pull-right">History</a>
                </div>
            @endcan
            <div class="float-right">
                <button type="submit" id="bill_payment_submit"
                    class="btn btn-default bg-primary float-right">Submit</button>
            </div>
            <div class="float-right">
                <button type="submit" id="bill_payment_reset" class="btn btn-default float-right mr-2">Reset</button>
            </div>
        </div>


    </div>


</div>

<div class="container col-md-12">
    <table>
        <tr>
            <td style="width: 300px;text-align: right">From </td>
            <td><strong>OTC Payment</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="different_message_of_otc"
                            id="different_message_of_otc_sendsms_yes" @if ($otc_payment->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="different_message_of_otc"
                            id="different_message_of_otc_sendsms_no" @if ($otc_payment->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="different_message_of_otc_sms_body" rows="10">{{ $otc_payment->sms_body }}</textarea>

            </td>
            <td style="width: 300px">
                <textarea class="form-control" id="different_message_of_otc_sms_field" rows="10" readonly>{c_id}&#10;{c_code}&#10;{c_password}&#10;{c_username}&#10;{c_name}&#10;{c_expire_date}&#10;{PaymentAmount}&#10;{PaymentDiscount}&#10;{PaymentMethod}&#10;{TotalDue}&#10;{MoneyreciptNo}&#10;{TrxId}&#10;{payment_description}&#10;{company_name}&#10;{company_cell}</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[15]->id, 'type' => $smsSetting[15]->tamplate_name]) }}"
                        class="btn btn-info pull-right">History</a>
                </div>
            @endcan
            <div class="float-right">
                <button type="submit" id="different_message_of_otc_submit"
                    class="btn btn-default bg-primary float-right">Submit</button>
            </div>
            <div class="float-right">
                <button type="submit" id="different_message_of_otc_reset"
                    class="btn btn-default float-right mr-2">Reset</button>
            </div>
        </div>


    </div>


</div>

<div class="container col-md-12">
    <table>
        <tr>
            <td style="width: 300px;text-align: right">From </td>
            <td><strong>Billing Cycle Change</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="different_message_of_billing_cycle_change_sendsms"
                            id="different_message_of_billing_cycle_change_sendsms_yes"
                            @if ($billing_cycle_change_payment->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="different_message_of_billing_cycle_change_sendsms"
                            id="different_message_of_billing_cycle_change_sendsms_no"
                            @if ($billing_cycle_change_payment->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="different_message_of_billing_cycle_change_sms_body" rows="10">{{ $billing_cycle_change_payment->sms_body }}</textarea>

            </td>
            <td style="width: 300px">
                <textarea class="form-control" id="different_message_of_billing_cycle_change_sms_field" rows="10" readonly>{c_id}&#10;{c_code}&#10;{c_password}&#10;{c_username}&#10;{c_name}&#10;{c_expire_date}&#10;{PaymentAmount}&#10;{PaymentDiscount}&#10;{PaymentMethod}&#10;{TotalDue}&#10;{MoneyreciptNo}&#10;{TrxId}&#10;{old_billing_cycle}&#10;{new_billing_cycle}&#10;{payment_description}&#10;{company_name}&#10;{company_cell}</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[17]->id, 'type' => $smsSetting[17]->tamplate_name]) }}"
                        class="btn btn-info pull-right">History</a>
                </div>
            @endcan
            <div class="float-right">
                <button type="submit" id="different_message_of_billing_cycle_change_submit"
                    class="btn btn-default bg-primary float-right">Submit</button>
            </div>
            <div class="float-right">
                <button type="submit" id="different_message_of_billing_cycle_change_reset"
                    class="btn btn-default float-right mr-2">Reset</button>
            </div>
        </div>


    </div>


</div>

<div class="container col-md-12">
    <table>
        <tr>
            <td style="width: 300px;text-align: right">From </td>
            <td><strong>Package Change</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="different_message_of_package_change_sendsms"
                            id="different_message_of_package_change_sendsms_yes"
                            @if ($package_change_payment->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="different_message_of_package_change_sendsms"
                            id="different_message_of_package_change_sendsms_no"
                            @if ($package_change_payment->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="different_message_of_package_change_sms_body" rows="10">{{ $package_change_payment->sms_body }}</textarea>

            </td>
            <td style="width: 300px">
                <textarea class="form-control" id="different_message_of_package_change_sms_field" rows="10" readonly>{c_id}&#10;{c_code}&#10;{c_password}&#10;{c_username}&#10;{c_name}&#10;{c_expire_date}&#10;{PaymentAmount}&#10;{PaymentDiscount}&#10;{PaymentMethod}&#10;{TotalDue}&#10;{old_package_name}&#10;{new_package_name}&#10;{MoneyreciptNo}&#10;{TrxId}&#10;{payment_description}&#10;{company_name}&#10;{company_cell}</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[16]->id, 'type' => $smsSetting[16]->tamplate_name]) }}"
                        class="btn btn-info pull-right">History</a>
                </div>
            @endcan
            <div class="float-right">
                <button type="submit" id="different_message_of_package_change_submit"
                    class="btn btn-default bg-primary float-right">Submit</button>
            </div>
            <div class="float-right">
                <button type="submit" id="different_message_of_package_change_reset"
                    class="btn btn-default float-right mr-2">Reset</button>
            </div>
        </div>


    </div>


</div>

<div class="container col-md-12">
    <table>
        <tr>
            <td style="width: 300px;text-align: right">From </td>
            <td><strong>New Customer Payment SMS</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="new_customer_payment_sendsms"
                            id="new_customer_payment_sendsms_yes" @if ($new_customer_payment_sms->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="new_customer_payment_sendsms"
                            id="new_customer_payment_sendsms_no" @if ($new_customer_payment_sms->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="new_customer_payment_sms_body" rows="10">{{ $new_customer_payment_sms->sms_body }}</textarea>

            </td>
            <td style="width: 300px">
                <textarea class="form-control" id="new_customer_payment_sms_field" rows="10" readonly>{c_id}&#10;{c_code}&#10;{c_password}&#10;{c_username}&#10;{c_name}&#10;{c_expire_date}&#10;{PaymentAmount}&#10;{PaymentDiscount}&#10;{PaymentMethod}&#10;{TotalDue}&#10;{MoneyreciptNo}&#10;{TrxId}&#10;{payment_description}&#10;{company_name}&#10;{company_cell}</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[18]->id, 'type' => $smsSetting[18]->tamplate_name]) }}"
                        class="btn btn-info pull-right">History</a>
                </div>
            @endcan
            <div class="float-right">
                <button type="submit" id="new_customer_payment_submit"
                    class="btn btn-default bg-primary float-right">Submit</button>
            </div>
            <div class="float-right">
                <button type="submit" id="new_customer_payment_reset"
                    class="btn btn-default float-right mr-2">Reset</button>
            </div>
        </div>


    </div>


</div>

<div class="container col-md-12">
    <table>
        <tr>
            <td style="width: 300px;text-align: right">From</td>
            <td><strong>Advanced Payment SMS</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="advanced_payment_sendsms"
                            id="advanced_payment_sendsms_yes" @if ($advanced_payment_sms->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="advanced_payment_sendsms"
                            id="advanced_payment_sendsms_no" @if ($advanced_payment_sms->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="advanced_payment_sms_body" rows="10">{{ $advanced_payment_sms->sms_body }}</textarea>

            </td>
            <td style="width: 300px">
                <textarea class="form-control" id="advanced_payment_sms_field" rows="10" readonly>{c_id}&#10;{c_code}&#10;{c_password}&#10;{c_username}&#10;{c_name}&#10;{c_expire_date}&#10;{PaymentAmount}&#10;{PaymentDiscount}&#10;{PaymentMethod}&#10;{TotalDue}&#10;{MoneyreciptNo}&#10;{TrxId}&#10;{payment_description}&#10;{company_name}&#10;{company_cell}</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[19]->id, 'type' => $smsSetting[19]->tamplate_name]) }}"
                        class="btn btn-info pull-right">History</a>
                </div>
            @endcan
            <div class="float-right">
                <button type="submit" id="advanced_payment_submit"
                    class="btn btn-default bg-primary float-right">Submit</button>
            </div>
            <div class="float-right">
                <button type="submit" id="advanced_payment_reset"
                    class="btn btn-default float-right mr-2">Reset</button>
            </div>
        </div>


    </div>


</div>
