<div class="app-header bg-header-1">
    <div class="layout-fixed full-h text-center">
        <div class="full-h v-bottom-i pdB15">
            <div class="app-content-header bg-header-1">
                <div class="text-name-header-1 nowrap">{{invoice_no}}</div>
                <div class="text-title-header-1 nowrap mgT5">Well fargo plan</div>
            </div>
        </div>
    </div>
    <button class="popup-close-button bg-transparent pd0-i biger-3-time" type="button" ng-click="closeTarget('#popupOrderInvoiceDetailAddPaymentWellFargoPlan')">
        <svg class="block h18px" viewBox="0 0 64 64"> <g> <path fill="#FFF" d="M28.941,31.786L0.613,60.114c-0.787,0.787-0.787,2.062,0,2.849c0.393,0.394,0.909,0.59,1.424,0.59   c0.516,0,1.031-0.196,1.424-0.59l28.541-28.541l28.541,28.541c0.394,0.394,0.909,0.59,1.424,0.59c0.515,0,1.031-0.196,1.424-0.59   c0.787-0.787,0.787-2.062,0-2.849L35.064,31.786L63.41,3.438c0.787-0.787,0.787-2.062,0-2.849c-0.787-0.786-2.062-0.786-2.848,0   L32.003,29.15L3.441,0.59c-0.787-0.786-2.061-0.786-2.848,0c-0.787,0.787-0.787,2.062,0,2.849L28.941,31.786z" /> </g> </svg>
    </button>
</div>
<form class="app-content" id="formSaveWellFargoPlan" name="formSaveWellFargoPlan" ng-submit="SaveWellFargoPlan(formSaveWellFargoPlan)" novalidate="">
    <div class="app-content-inner content-pd">
        <button id="submitFormSaveWellFargoPlan" style="display:none;" type="submit">Submit</button>
        <ion-scroll class="scroll-area" direction="y" has-bouncing="true" overflow-scroll="false" delegate-handle="scrollWellFargoPlan" on-scroll="scrollContent('scrollWellFargoPlan')">
            <div class="box-setting-4 no-saperator">
                <div class="content content-in">
                    <div class="itm">
                        <label class="label-form-field-1">Authorization #:</label>
                        <div class="layout-fixed">
                            <div>
                                <div class="input-form-field-1" ng-class="{ 'has-errors' : formSaveWellFargoPlan.authorization_number.$invalid  }" ng-click="focusHandle($event)">
                                    <input type="text" ng-model="WellFargoPlan.authorization_number" placeholder="" value="" name="authorization_number" class="full-w" ng-trim=false awnum num-sep="." num-int=10 num-fract=0 required>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="itm">
                        <label class="label-form-field-1">Authorization Amount:</label>
                        <div class="layout-fixed">
                            <div>
                                <div class="input-form-field-1" ng-class="{ 'has-errors' : formSaveWellFargoPlan.authorization_amount.$invalid  }" ng-click="focusHandle($event)">
                                    <input type="text" ng-model="WellFargoPlan.authorization_amount" placeholder="" value="" name="authorization_amount" class="full-w" ng-trim=false awnum num-sep="." num-int=10 num-fract=2 required onkeyup="CheckNumber(this, '0123456789.')">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="itm">
                        <label class="label-form-field-1">Credit Term Plan #:</label>
                        <div class="layout-fixed">
                            <div>
                                <div class="input-form-field-1" ng-class="{ 'has-errors' : formSaveWellFargoPlan.credit_term_plan_number.$invalid }" ng-click="focusHandle($event)">
                                    <input type="text" placeholder="" value="{{WellFargoPlan.credit_term_plan_number}}" name="credit_term_plan_number" class="h32px" onkeyup="CheckNumber(this, '0123456789.')">
                                    <div class="sign-r clear">
                                        <button class="bg-transparent full-h right pdR10" type="button">
                                            <svg class="h17px clr-symbol-clickable" viewBox="0 0 63.215 63.215"> <g> <g> <path fill="#1075BB" d="M59.807,15.717L31.491,43.791L3.419,15.475c-0.777-0.785-2.044-0.789-2.828-0.012c-0.784,0.777-0.789,2.044-0.012,2.827    l29.194,29.448c0.365,0.368,0.835,0.563,1.312,0.589c0.139,0.008,0.278-0.001,0.415-0.021c0.054,0.008,0.106,0.021,0.16,0.022    c0.544,0.029,1.099-0.162,1.515-0.576l29.447-29.196c0.785-0.777,0.79-2.043,0.012-2.828    C61.856,14.943,60.59,14.939,59.807,15.717z" /> </g> </g> </svg>
                                        </button>
                                    </div>
                                    <select class="field-overlay" ng-model="WellFargoPlan.credit_term_plan_number" name="" ng-options="item.label as item.value for item in credittermplans">
                                    </select>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </ion-scroll>
    </div>
</form>
<div class="app-control">
    <div class="layout-fixed full-h pdT2">
        <div class="full-h">
            <button class="button-form-field-1 darkgray position-left full" type="button" ng-click="closeTarget('#popupOrderInvoiceDetailAddPaymentWellFargoPlan');">
                Cancel
            </button>
        </div>
        <div class="full-h">
            <button class="button-form-field-1 position-right full" onclick="getElementById('submitFormSaveWellFargoPlan').click()">
                <svg class="icon h14px" viewBox="0 0 28.91 28.91"> <path style="fill:#030104;" d="M4.594,11.533c0,0-3.091,12.141-4.2,16.889l5.937-8.125c-0.539-1.199-0.214-3.018,0.729-4.049   c1.266-1.383,3.52-1.383,4.904-0.117s1.479,3.414,0.213,4.797c-0.959,1.053-2.733,1.477-3.989,1.008L0.771,28.91l15.646-6.059   l6.287-9.42l-8.229-7.705L4.594,11.533z" /> <polygon style="fill:#030104;" points="20.669,0 16.153,4.193 24.241,11.988 28.515,7.555  " /> </svg>
                Add
            </button>
        </div>
    </div>
</div>
