use yii\widgets\DetailView;
use yii\grid\GridView;
use common\models\ExceptionalSecurity;
use yii\widgets\ActiveForm;
use kartik\widgets\Select2;
use kartik\widgets\DatePicker;
?>
<div class="modal-content">
	<div class="modal-header">
		<button type="button" class="close" data-dismiss="modal" aria-label="Close">
			<span aria-hidden="true">×</span>
		</button>
		<h4 class="modal-title" id="myModalLabel">Include update</h4>
	</div>
	<?php 
$form = ActiveForm::Begin(['method' => 'post']);
?>
	<div class="modal-body">
		<ul>
			<?php 
echo $form->field($model, 'included')->label('Please change:')->radioList(Dict::$monitoringExceptionalSecurityInclude, ['item' => function ($index, $label, $name, $checked, $value) {
    $radio = Html::radio($name, $checked, ['value' => $value]);
    $label = Html::label($radio . $label);
    return Html::tag('div', $label, ['class' => 'radio col-xs-6']);
}]);
?>
		</ul>
	</div>
	<div class="modal-footer">
		<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
		<?php 
예제 #2
1
            $readonly = true;
        }
    } else {
        $readonly = true;
    }
} else {
    $readonly = false;
}
?>

<section class="content-wrap">
	<div class="container">
		<div class="row pt50">
			<div class="col-md-9 main-content">
				<?php 
$form = ActiveForm::Begin(['enableAjaxValidation' => true]);
?>
				<div class="frame"><div>
				<ul class="nav nav-tabs" role="tablist">
					<li role="presentation" class="active"><a href="<?php 
echo Yii::$app->homeUrl;
?>
client/create" aria-controls="home" role="tab" data-toggle="tab" aria-expanded="true"><?php 
if ($model->isNewRecord) {
    ?>
Create Client<?php 
} else {
    ?>
Profile<?php 
}
?>
예제 #3
1
use yii\helpers\Url;
use common\models\Application;
use common\models\AppUser;
use common\models\AppDocument;
use common\models\user\UserRole;
use yii\widgets\ActiveForm;
$model = Application::findOne($id_application);
$users = $model->users;
$user = Yii::$app->user->getIdentity()->id;
$user_role = Yii::$app->user->getIdentity()->id_user_role;
$UploadModel = new AppDocument();
// $documents = AppDocument::find()->andWhere(['id_application' => $id_application])->groupBy(['id_document_type'])->all();
$roles = [Dict::USER_ROLE_BETTERDEBT => 'Loan Officer', Dict::USER_ROLE_ADVISOR => 'Advisor', Dict::USER_ROLE_CLIENT => 'Client'];
$actives = $model->actives;
rsort($actives);
$form = ActiveForm::Begin(['options' => ['enctype' => 'multipart/form-data'], 'method' => 'post', 'action' => ['/documents/index', 'id_application' => $model->id_application], 'id' => 'asd_111']);
?>
<div class="layout mb20">
	<div class="" id="myCollapsible" role="tablist" aria-multiselectable="true">
		<div class="panel panel-default">
		<div class="panel-heading layout-your-list pl30 por" role="tab" id="headingNo1">
			<h4 class="panel-title">
			<a class="collapsed fwb panel-text fs18" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseNo1" aria-expanded="false" aria-controls="collapseNo1"> Documents </a>
			</h4>
			<i class="caret add-subtract-ico"></i>
		</div>


		<div id="collapseNo1" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingNo1">
			<div class="panel-body in-table">
	            <dl>
예제 #4
1
						<?php 
}
?>
						<h2>Status:
							<span class="label <?php 
echo $label_css;
?>
">
								<?php 
echo DictTask::$taskStatus[$model->status];
?>
							</span>
						</h2>
						<div class="form-box mb0">
						<?php 
$form = ActiveForm::Begin(['method' => 'post', 'action' => Url::to(['/task-app-review/save', 'id_app_task' => $model->id_app_task]), 'id' => 'line_attribute', 'enableAjaxValidation' => true]);
?>
							<div class="form-ul pb10 clearfix">
								<?php 
echo $form->field($loanModel, 'loan_number', ['options' => ['class' => 'col-xs-6 padding-left0']])->textInput($auth ? ['disabled' => 'disabled'] : []);
?>
								<?php 
echo $form->field($loanModel, 'loc', ['options' => ['class' => 'col-xs-6 padding-right0'], 'template' => '{label}<div class="input-group"> <div class="input-group-addon">$</div> {input} <div class="input-group-addon">.00</div> </div>{hint}{error}'])->widget(MaskedInput::className(), ['clientOptions' => ['alias' => 'decimal', 'groupSeparator' => ',', 'autoGroup' => true]])->textInput($auth ? ['disabled' => 'disabled'] : []);
?>
							</div>
							<div class="form-ul pb10 clearfix">
								<div class="col-xs-2 padding-right0">
									<label class="control-label">LIBOR (%)</label>
									<br /><?php 
echo $libor;
?>
	<?php 
echo GridView::widget(['dataProvider' => $dataProvider, 'layout' => '{items}{pager}', 'bootstrap' => false, 'containerOptions' => ['class' => 'application-table'], 'toolbar' => [['content' => !$isRead ? Html::a('<i class="glyphicon glyphicon-plus"></i>', Url::to(['/app-form/create-collateral', 'id_application' => $_GET['id_application']]), ['title' => 'Add Application', 'class' => 'btn btn-success']) : '' . ' ' . Html::a('<i class="glyphicon glyphicon-repeat"></i>', ['index'], ['data-pjax' => 0, 'class' => 'btn btn-default', 'title' => 'Reset Grid'])], '{export}', '{toggleData}'], 'panel' => ['heading' => 'Applications'], 'panelHeadingTemplate' => '<h3 class="panel-title">{heading}</h3><div class="clearfix"></div>', 'columns' => ['account_name_title', 'account_number', ['header' => 'Account Type', 'attribute' => 'is_trust_account', 'value' => function ($model) {
    return $model->is_trust_account ? 'Trust' : 'General';
}], ['class' => '\\common\\widgets\\ActionColumn', 'width' => '20%', 'header' => 'Action', 'template' => !$isRead ? '{view}{update}{delete}' : '{view}', 'buttons' => ['update' => function ($url, $model, $key) {
    $options = ['class' => 'btn btn-light btn-icon', 'title' => Yii::t('yii', 'Update'), 'aria-label' => Yii::t('yii', 'Update'), 'data-pjax' => '0'];
    return Html::a('<span class="glyphicon">&#xe61f;</span>', Url::to(['update-collateral', 'id_app_form_collateral_account' => $model->id_app_form_collateral_account]), $options);
}, 'delete' => function ($url, $model, $key) {
    $options = ['class' => 'btn btn-light btn-icon', 'title' => Yii::t('yii', 'Delete'), 'aria-label' => Yii::t('yii', 'Delete'), 'data-confirm' => Yii::t('yii', 'Are you sure you want to delete this item?'), 'data-method' => 'post', 'data-pjax' => '0'];
    return Html::a('<span class="glyphicon">&#xe61e;</span>', Url::to(['delete-collateral', 'id' => $model->id_app_form_collateral_account]), $options);
}], 'detailViewAttributes' => function ($model, $key) {
    return ['id_app_form_collateral_account', 'id_application', 'id_collateral_account_type', 'account_name_title', 'registration', 'custodian', 'account_number', 'has_regular_distribution', 'regular_distribution_amount', 'payee', 'is_trust_account', 'is_revocable', 'trust_name', 'names_of_trustees', 'tax_id_type', 'tax_id', 'address_street', 'address_city', 'address_state_where_organized'];
}]]]);
if (!$isRead) {
    ?>
                        <?php 
    $form = ActiveForm::Begin();
    ?>

<?php 
    echo $this->render('_collateral_form', ['model' => $model, 'form' => $form]);
    ?>
                        <?php 
    ActiveForm::end();
    ?>
                        <?php 
}
?>



                                    </div>
예제 #6
0
<?php

use yii\helpers\Html;
use yii\helpers\Url;
use yii\helpers\ArrayHelper;
use common\models\AppTask;
use yii\widgets\ActiveForm;
// 生成 label 样式
$label_css = '';
$form = ActiveForm::Begin(['method' => 'post', 'action' => ['/task-sign/remind', 'id_app_task' => $model->id_app_task]]);
?>
<div class="modal-content">
	<div class="modal-header">
		<button type="button" class="close" data-dismiss="modal" aria-label="Close">
			<span aria-hidden="true">×</span>
		</button>
		<h4 class="modal-title" id="myModalLabel">Remind</h4>
	</div>
	<div class="modal-body">
		<h4>
		Email has been send out!
		</h4>
	</div>
	<div class="modal-footer">
		<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
		<?php 
if ($this->context->AUTH == Dict::AUTH_OPERATE) {
    ?>
		<?php 
    echo Html::submitButton('Remind', ['class' => 'btn btn-primary']);
    ?>
예제 #7
0
$task_owner = DictTask::$taskOwner;
unset($task_owner[DictTask::OWNER_NULL]);
unset($task_owner[$model->owner_type]);
?>
<div class="modal-content">
	<div class="modal-header">
		<button type="button" class="close" data-dismiss="modal" aria-label="Close">
			<span aria-hidden="true">×</span>
		</button>
		<h4 class="modal-title" id="myModalLabel">Assign <?php 
echo $model->name;
?>
 To?</h4>
	</div>
	<?php 
$form = ActiveForm::Begin(['method' => 'post', 'action' => ['/task/assign-to', 'id_app_task' => $model->id_app_task], 'id' => 'assign_to_001']);
?>
	<div class="modal-body">
		<?php 
echo $form->field($assignTo, 'owner_type')->label('Assign ' . $model->name . ' to:')->radioList($task_owner, ['item' => function ($index, $label, $name, $checked, $value) {
    $radio = Html::radio($name, $checked, ['value' => $value]);
    $label = Html::label($radio . $label);
    return Html::tag('div', $label, ['class' => 'radio col-xs-6']);
}]);
?>
		<br />
	</div>
	<div class="modal-footer">
		<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
		<?php 
if ($this->context->AUTH == Dict::AUTH_OPERATE) {
예제 #8
0
        $btn = 'Confirm';
        break;
    case 2:
        $mag = 'Do you have access to all collateral accounts?';
        $btn = 'Yes';
        break;
    case 3:
        $mag = 'Is applicant qualified?';
        $btn = 'Yes';
        break;
    case 4:
        $mag = 'Has the Line of Credit been set up?';
        $btn = 'Yes';
        break;
}
$form = ActiveForm::Begin(['method' => 'post', 'action' => ['/task/check-point', 'id_app_task_checkpoint' => $model->id_app_task_checkpoint]]);
?>
<div class="modal-content">
	<div class="modal-header">
		<button type="button" class="close" data-dismiss="modal" aria-label="Close">
			<span aria-hidden="true">×</span>
		</button>
		<h4 class="modal-title" id="myModalLabel"><?php 
echo $model->name;
?>
</h4>
	</div>
	<div class="modal-body">
		<?php 
echo $mag;
?>
예제 #9
0
$label_css = '';
switch ($model->status) {
    case 1:
        $label_css = 'label-default';
        break;
    case 2:
        $label_css = 'label-warning';
        break;
    case 3:
        $label_css = 'label-success';
        break;
}
?>

<?php 
$form = ActiveForm::Begin(['method' => 'post', 'action' => ['/app-form/submit-esign', 'id_app_task' => $model->id_app_task]]);
?>

<div class="modal-content">
	<div class="modal-header">
		<button type="button" class="close" data-dismiss="modal" aria-label="Close">
			<span aria-hidden="true">×</span>
		</button>
		<h4 class="modal-title" id="myModalLabel"><?php 
echo $model->name;
?>
</h4>
	</div>
	<div class="modal-body">
		<h4>Are you sure you want to submit the Application Form?</h4>
예제 #10
0
    ?>
">
                <?php 
    echo DictTask::$taskStatus[$model->status];
    ?>
              </span>
            </h2>
          </div>
        </div>
        <?php 
}
?>


          	<?php 
$form = ActiveForm::Begin(['options' => ['enctype' => 'multipart/form-data'], 'method' => 'post', 'action' => ['/task-supplemental-information/index', 'id_app_task' => $model->id_app_task]]);
?>
	     <div class="account-form2 pb20">
          <div class="layout frame">
          <div class="layout-your-list por">
            <h2>ACCOUNT STATEMENTS</h2>
            <p class="color-ba" style="padding-right: 135px">Please upload your most recent account statement for all Collateral Accounts.</p>
            <?php 
if ($this->context->AUTH == Dict::AUTH_OPERATE) {
    ?>
            <i class="form-add-document but-user-mod"><a href="#"  data-toggle="modal" data-target="#myModal1" class="btn btn-default pl15" data-whatever="2">Add  Document</a></i>
            <?php 
}
?>
          </div>
             <?php 
예제 #11
0
<?php

use yii\helpers\Html;
use yii\helpers\Url;
use yii\helpers\ArrayHelper;
use common\models\AppOwnerTask;
use yii\widgets\ActiveForm;
// 生成 label 样式
$label_css = '';
$form = ActiveForm::Begin(['method' => 'post', 'action' => ['/application/change', 'id_user' => $id_user, 'id_application' => $id_application, 'id_user_role' => $id_user_role]]);
?>
<div class="modal-content">
	<div class="modal-header">
		<button type="button" class="close" data-dismiss="modal" aria-label="Close">
			<span aria-hidden="true">×</span>
		</button>
		<h4 class="modal-title" id="myModalLabel">Set as Primary</h4>
		<input type="hidden" value="<?php 
echo $id_user;
?>
" name="id_user">
		<input type="hidden" value="<?php 
echo $id_application;
?>
" name="id_application">
		<input type="hidden" value="<?php 
echo $id_user_role;
?>
" name="id_user_role">
	</div>
	<div class="modal-body">
예제 #12
-1
<div class="modal-content">
	<div class="modal-header">
		<button type="button" class="close" data-dismiss="modal" aria-label="Close">
		<span aria-hidden="true"><?php 
echo Yii::t('app', '×');
?>
</span>
		</button>
		<h4 class="modal-title" id="myModalLabel"><?php 
echo Yii::t('app', 'Add File');
?>
</h4>
	</div>
	<div class="modal-body">
		<?php 
$form = ActiveForm::Begin(['method' => 'post', 'id' => 'upload_file', 'options' => ['enctype' => 'multipart/form-data'], 'action' => ['/task-sign/wet-sign', 'id_app_task' => $id_app_task, 'type' => DictDocument::TYPE_APPLICATION_FORM]]);
?>
		<div class="drop-file">
			<p class="text-align-c margin-top-42"><span class="fa fa-plus"></span></p>
			<div class="text-align-c padding-bottom-72">
			<!--                                             Drop files here <br>or <br> -->
			<div class="col-sm-6 col-sm-offset-3 ">
			<!-- 									        <span class="btn btn-success fileinput-button"> -->
			<!-- 									            <i class="glyphicon glyphicon-plus"></i> -->
			<!-- 									            <span>Select files...</span> -->
			<!-- 									            <input type="file" name="files"> -->
			<!-- 									        </span>       -->
				<?php 
echo $form->field($WetSignForm, 'wet_sign_path')->fileInput(['class' => 'btn btn-success fileinput-button'])->label('');
?>
				<div><?php 
예제 #13
-1
    $this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Applications'), 'url' => ['/application/index']];
    $this->params['breadcrumbs'][] = ['label' => Yii::t('app', Application::findOne($this->context->actionParams['id_application'])->application_name), 'url' => ['/application/view', 'id' => $this->context->actionParams['id_application']]];
    $this->params['breadcrumbs'][] = $this->title;
}
$isRead = $this->context->AUTH == Dict::AUTH_READ;
?>

<section class="content-wrap">
             <div class="container">
                 <?php 
echo $this->render('_header_tab', ['id_application' => $this->context->actionParams['id_application']]);
?>
<div class="row pt50">
                     <main class="col-md-9 main-content">
                        <?php 
$form = ActiveForm::Begin([]);
?>
                           <div class="frame">
                                <div>
                                  <!-- Nav tabs -->
                                  <ul class="nav nav-tabs" role="tablist">
                                    <li role="presentation" class="active"><a id="app" href="#home" aria-controls="home" role="tab" data-toggle="tab" aria-expanded="true">Applicant</a></li>
                                    <?php 
if ($coAppModel) {
    ?>
                                    <li role="presentation" class=""><a id="co" href="#profile" aria-controls="profile" role="tab" data-toggle="tab" aria-expanded="false">Co-applicant</a></li>
                                    <?php 
}
?>
                                  </ul>
예제 #14
-1
echo $label_css;
?>
">
						<?php 
echo DictTask::$taskStatus[$model->status];
?>
					</span>
				</h2>
				<p class="color-ba">If you have wet-signed application, upload here."E-Sign" will send out requests for only automatically generated documents, and will not include wet-signed documents. </p>
			</div>
		</div>


<div class="layout  mt23">
	<?php 
$form = ActiveForm::Begin(['options' => ['enctype' => 'multipart/form-data'], 'method' => 'post', 'action' => ['/task-agreements/upload-web-signed', 'id_app_task' => $model->id_app_task]]);
?>
	<div class="panel panel-default">
		<div class="panel-heading pl30 layout-your-list por" role="tab" id="headingEleven">
			<h4 class="panel-title">
			<a class="collapsed fwb panel-text fs18" role="button" data-toggle="collapse" data-parent="#accordion" href="#form" aria-expanded="false" aria-controls="collapseEleven"> Line of Credit and Security Agreement </a>
			</h4>
			<i class="caret add-subtract-ico"></i>
		</div>

		<div aria-labelledby="types" role="tabpanel" class="panel-collapse collapse in" id="form">
			<div class="panel-body">
				<div class="col-md-7 mt20 mb20">
					<ul>
						<li class="mb10">
							<?php