<table>
    <tr>
        <td style="width: 300px;text-align: right">From </td>
        <td><strong>Add Client</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="welcome_sms_send" id="welcome_sms_send_yes"
                        @if (isset($default_welcome_sms) && $default_welcome_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="welcome_sms_send" id="welcome_sms_send_no"
                        @if (isset($default_welcome_sms) && $default_welcome_sms->sendsms == 'No') checked @endif value="No">
                    <label class="form-check-label" for="no">No</label>
                </div>
            </div>
        </td>

    </tr>

    @php

    @endphp
    <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="smsbodywelcome" spellcheck="false" rows="10">@if (isset($default_welcome_sms) && $default_welcome_sms->sms_body){{ $default_welcome_sms->sms_body }} @endif</textarea>

        </td>
        <td style="width: 300px">
            <textarea class="form-control" id="smsfieldwelcome" style="font-size:12px" spellcheck="false" rows="10" readonly>{c_id}&#10;{c_code}&#10;{c_name}&#10;{c_username}&#10;{c_password}&#10;{c_package}&#10;{c_otc}&#10;{c_package_price}&#10;{c_due}&#10;{c_deadline}&#10;{company_name}&#10;{company_cell}&#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[0]->id, 'type' => $smsSetting[0]->tamplate_name]) }}"
                    class="btn btn-info pull-right">History</a>
            </div>
        @endcan

        <div class="float-right">
            <button type="submit" id="welcome_submit" class="btn btn-default bg-primary float-right">Submit</button>
        </div>
        <div class="float-right">
            <button type="submit" id="welcome_reset" class="btn btn-default float-right mr-2">Reset</button>
        </div>
    </div>


</div>
