10 $fragFileName =
'/home/' . strtolower($DMSAPP_CURRENTCUCODE) .
'/public_html/lnappCuPortal.html';
14 #grid .k-grid-content, 15 .local-overflow-action {
16 overflow: visible !important;
19 #grid .k-grid-content table tbody tr td:nth-child(2) { 20 display: none !important;
22 #grid .k-grid-content table tbody tr td:nth-child(4) { 23 display: none !important;
25 #grid .k-grid-content table tbody tr td:nth-child(1) { 28 @media (min-width: 768px) {
29 #grid .k-grid-header .k-grid-header-wrap table tr th:nth-child(2) { 30 display: block !important;
32 #grid .k-grid-header .k-grid-header-wrap table tr th:nth-child(4) { 33 display: block !important;
35 #grid .k-grid-content table tbody tr td:nth-child(2) { 36 display: table-cell !important;
38 #grid .k-grid-content table tbody tr td:nth-child(4) { 39 display: table-cell !important;
43 <div
class=
"container-fluid">
48 $loadedValues[
'lnappportal'] = Array();
49 HCU_ImportVars($loadedValues,
"lnappportal", array(
"msg" => array(
'filter' => FILTER_UNSAFE_RAW)));
50 if (hcu_array_key_exists(
"msg", $loadedValues[
'lnappportal'])) {
52 <div
class=
"col-lg-4">
53 <div
class=
"alert alert-success" role=
"alert">
55 <span><?php echo hcu_array_key_value(
"msg", $loadedValues[
'lnappportal']); ?></span>
70 $userLoans = GetAllUserLoans($HB_ENV, $DMSAPP_CURRENTUSERID);
71 if ($userLoans[
'code'] ==
'000' && count(HCU_array_key_value(
'data', $userLoans)) > 0) {
74 $userLoanData = $userLoans[
'data'];
75 $jsonDataAry = Array();
76 foreach ($userLoanData as $dataIdx => $recData) {
82 <div
class=
"col-sm-offset-1 col-sm-10">
89 var loanDataJson = <?php echo HCU_jsonencode($userLoanData); ?>;
90 $(document).ready(
function () {
91 $(
"#grid").kendoGrid({
95 rowTemplate: kendo.template($(
"#row-action-template").html()),
96 altRowTemplate: kendo.template($(
"#row-action-template").html()),
98 templatexx: kendo.template($(
"#cell-action-template").html()),
108 title:
"Loan Description" 110 field:
"LoanStartOn",
112 format:
"{0:MM/dd/yyyy h:mm}",
115 field:
"LoanSubmitOn",
116 title:
"Submitted On",
117 format:
"{0:MM/dd/yyyy h:mm}" 125 <script type=
"text/x-kendo-template" id=
"row-action-template">
127 <td
class=
"local-overflow-action" role=
"gridcell">
128 <div
class=
"dropdown">
129 <button
class=
"btn btn-default dropdown-toggle" type=
"button" id=
"dropdownMenu1" data-toggle=
"dropdown" aria-haspopup=
"false" aria-expanded=
"false">
131 <div
class=
"visible-xs-inline-block">
132 <i
class=
"fa fa-ellipsis-v" aria-hidden=
"true"></i>
134 <span
class=
"hidden-xs">
137 <span
class=
"caret"></span>
139 <ul
class=
"dropdown-menu" aria-labelledby=
"dropdownMenu1">
140 # if (action.edit) { # 142 <a href=
"<?php echo $self_full_url; ?>?f=entry&load=#= LoanRespId #">Edit</a>
145 # if (action.delete) { # 147 <a href=
"<?php echo $self_full_url; ?>?f=loandelete&remove=#= LoanRespId #">Delete</a>
150 # if (action.view) { # 152 <a href=
"<?php echo $self_full_url; ?>?f=viewapplication&viewapp=#= LoanRespId #" target=
"_new">View</a>
158 <td
class=
"" role=
"gridcell">
161 <td
class=
"" role=
"gridcell">
164 <td
class=
"" role=
"gridcell">
167 <td
class=
"" role=
"gridcell">
170 <td
class=
"" role=
"gridcell">
175 <script type=
"text/x-kendo-template" id=
"cell-action-template">
176 <!--<i
class=
"fa fa-pencil-square-o" aria-hidden=
"true"></i>
177 <i
class=
"fa fa-trash-o" aria-hidden=
"true"></i>
178 <i
class=
"fa fa-info-circle" aria-hidden=
"true"></i>-->
179 <b>#= action.view #</b>
184 <div
class=
"col-sm-offset-1 col-sm-10">
194 <div
class=
"col-sm-offset-1 col-sm-10">
195 <div
class=
"panel panel-default">
196 <div
class=
"panel-body">
197 You currently
do not have any loan applications started.
209 if (is_readable($fragFileName)) {
211 include($fragFileName);