if (typeof VedaTPBTemplates==='undefined'){var VedaTPBTemplates={};}VedaTPBTemplates['AccountDetailAlertActivity']=new Hogan.Template();VedaTPBTemplates['AccountDetailAlertActivity'].r=function(c,p,i){var _=this;_.b(i=i||"");_.b("<table name=\"tableAccountAlertActivity\" style=\"border: 1px solid #dddddd;\">\r");_.b("\n" + i);_.b("    <thead>\r");_.b("\n" + i);_.b("        <tr>\r");_.b("\n" + i);_.b("            <th data-column-id=\"AlertDateShort\">Date</th>\r");_.b("\n" + i);_.b("            <th data-column-id=\"AlertTriggerGroup\">Trigger Group</th>\r");_.b("\n" + i);_.b("            <th data-column-id=\"AlertPortfolio\">Alert Portfolio</th>\r");_.b("\n" + i);_.b("            <th data-column-id=\"AlertType\">Alert Trigger</th>\r");_.b("\n" + i);_.b("            <th data-column-id=\"AccountNumber\">Alert Type</th>\r");_.b("\n" + i);_.b("            <th data-column-id=\"AccountNumber\">Account Number</th>\r");_.b("\n" + i);_.b("            <th data-column-id=\"AlertImportance\">Importance</th>\r");_.b("\n" + i);_.b("        </tr>\r");_.b("\n" + i);_.b("    </thead>\r");_.b("\n" + i);_.b("    <tbody>\r");_.b("\n" + i);if(_.s(_.f("Results",c,p,1),c,p,0,627,1204,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("        <tr>\r");_.b("\n" + i);_.b("            <td>");_.b(_.v(_.f("AlertDateShort",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("            <td>");_.b(_.v(_.f("AlertTriggerGroup",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("            <td>");_.b(_.v(_.f("AlertPortfolio",c,p,0)));_.b("</td>\r");_.b("\n" + i);if(_.s(_.f("RSOEnabled",c,p,1),c,p,0,796,900,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("                <td><a href=\"");_.b(_.v(_.f("RSOLink",c,p,0)));_.b("\" target=\"_blank\" name>");_.b(_.v(_.f("AlertTrigger",c,p,0)));_.b("</a></td>\r");_.b("\n");});c.pop();}if(!_.s(_.f("RSOEnabled",c,p,1),c,p,1,0,0,"")){_.b("                <td><a href=\"#rsoalert\" target=\"_blank\" name>");_.b(_.v(_.f("AlertTrigger",c,p,0)));_.b("</a></td>\r");_.b("\n");};_.b("            <td>");_.b(_.v(_.f("AlertType",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("            <td>");_.b(_.v(_.f("AccountNumber",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("            <td>");_.b(_.v(_.f("AlertImportance",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("        </tr>\r");_.b("\n");});c.pop();}_.b("    </tbody>\r");_.b("\n" + i);_.b("</table>\r");_.b("\n");return _.fl();;};
VedaTPBTemplates['AccountDetailDebtorReviewList']=new Hogan.Template();VedaTPBTemplates['AccountDetailDebtorReviewList'].r=function(c,p,i){var _=this;_.b(i=i||"");_.b("<table class=\"tableDebtorReviewList table table-striped\" style=\"border: 1px solid #dddddd!important;\">\r");_.b("\n" + i);_.b("    <col width=\"48%\" />\r");_.b("\n" + i);_.b("    <col width=\"16%\" />\r");_.b("\n" + i);_.b("    <col width=\"10%\" />\r");_.b("\n" + i);_.b("    <col width=\"10%\" />\r");_.b("\n" + i);_.b("    <col width=\"6%\" />\r");_.b("\n" + i);_.b("    <thead style=\"border: none;\">\r");_.b("\n" + i);_.b("        <tr>\r");_.b("\n" + i);_.b("            <th class=\"vert-algn-mdl\">Review Details</th>\r");_.b("\n" + i);_.b("            <th class=\"textAlignCenter vert-algn-mdl\">Group Name</th>\r");_.b("\n" + i);_.b("            <th class=\"textAlignCenter vert-algn-mdl\">Date Flagged</th>\r");_.b("\n" + i);_.b("            <th class=\"textAlignCenter vert-algn-mdl\">Date Expires</th>\r");_.b("\n" + i);_.b("            <th class=\"textAlignCenter vert-algn-mdl\">Flagged</th>\r");_.b("\n" + i);_.b("        </tr>\r");_.b("\n" + i);_.b("    </thead>\r");_.b("\n" + i);_.b("    <tbody style=\"border: none;\">\r");_.b("\n" + i);if(!_.s(_.f("DebtorReviews",c,p,1),c,p,1,0,0,"")){if(_.s(_.f("Loading",c,p,1),c,p,0,733,817,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("        <tr>\r");_.b("\n" + i);_.b("            <td colspan=\"5\">Loading...</td>\r");_.b("\n" + i);_.b("        </tr>\r");_.b("\n");});c.pop();}if(!_.s(_.f("Loading",c,p,1),c,p,1,0,0,"")){_.b("        <tr>\r");_.b("\n" + i);_.b("            <td colspan=\"5\">This organisation has not been flagged for review by any members of your Debtor IQ Connect Groups</td>\r");_.b("\n" + i);_.b("        </tr>\r");_.b("\n");};};if(_.s(_.f("DebtorReviews",c,p,1),c,p,0,1090,6110,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("        <tr>\r");_.b("\n" + i);_.b("            <td class=\"debtorReviewDetailsAccDetail vert-algn-mdl\">\r");_.b("\n" + i);_.b("                <div class=\"floatLeft\" style=\"margin-right: 20px;\">\r");_.b("\n" + i);_.b("                    <div class=\"accountSummaryList-data\">\r");_.b("\n" + i);_.b("                        <div class=\"label-text floatLeft\">Opened</div>\r");_.b("\n" + i);_.b("                        <div class=\"label-data floatLeft\">");_.b(_.v(_.f("AccountOpenedString",c,p,0)));_.b("</div>\r");_.b("\n" + i);_.b("                        <div class=\"clear\"></div>\r");_.b("\n" + i);_.b("                    </div>\r");_.b("\n" + i);_.b("                    <div class=\"accountSummaryList-data\">\r");_.b("\n" + i);_.b("                        <div class=\"label-text floatLeft\">Credit Limit</div>\r");_.b("\n" + i);_.b("                        <div class=\"label-data floatLeft\">");_.b(_.v(_.f("CreditLimitString",c,p,0)));_.b("</div>\r");_.b("\n" + i);_.b("                        <div class=\"clear\"></div>\r");_.b("\n" + i);_.b("                    </div>\r");_.b("\n" + i);_.b("                    <div class=\"accountSummaryList-data\">\r");_.b("\n" + i);_.b("                        <div class=\"label-text floatLeft\">Director's Guarantee</div>\r");_.b("\n" + i);_.b("                        <div class=\"label-data floatLeft\">");if(_.s(_.f("DirectorsGuarantee",c,p,1),c,p,0,2072,2075,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("Yes");});c.pop();}if(!_.s(_.f("DirectorsGuarantee",c,p,1),c,p,1,0,0,"")){_.b("No");};_.b("</div>\r");_.b("\n" + i);_.b("                        <div class=\"clear\"></div>\r");_.b("\n" + i);_.b("                    </div>\r");_.b("\n" + i);_.b("                    <div class=\"accountSummaryList-data\">\r");_.b("\n" + i);_.b("                        <div class=\"label-text floatLeft\">Insurance</div>\r");_.b("\n" + i);_.b("                        <div class=\"label-data floatLeft\">");if(_.s(_.f("DebtorInsurance",c,p,1),c,p,0,2445,2448,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("Yes");});c.pop();}if(!_.s(_.f("DebtorInsurance",c,p,1),c,p,1,0,0,"")){_.b("No");};_.b("</div>\r");_.b("\n" + i);_.b("                        <div class=\"clear\"></div>\r");_.b("\n" + i);_.b("                    </div>\r");_.b("\n" + i);_.b("                    <div class=\"accountSummaryList-data\">\r");_.b("\n" + i);_.b("                        <div class=\"label-text floatLeft\">Comments</div>\r");_.b("\n" + i);_.b("                        <div class=\"label-data floatLeft\">\r");_.b("\n" + i);_.b("                            <ul>\r");_.b("\n" + i);if(_.s(_.f("Comments",c,p,1),c,p,0,2869,2951,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("                                <li>");_.b(_.v(_.d(".",c,p,0)));_.b("</li>\r");_.b("\n");});c.pop();}if(!_.s(_.f("Comments",c,p,1),c,p,1,0,0,"")){_.b("                                <li>-</li>\r");_.b("\n");};_.b("                            </ul>\r");_.b("\n" + i);_.b("                        </div>\r");_.b("\n" + i);_.b("                        <div class=\"clear\"></div>\r");_.b("\n" + i);_.b("                    </div>                    \r");_.b("\n" + i);_.b("                </div>\r");_.b("\n" + i);_.b("                <div class=\"floatLeft deboriq-connect-ffr-table\" style=\"min-width: 250px; margin:0;\">\r");_.b("\n" + i);_.b("                    <div class=\"row\">\r");_.b("\n" + i);_.b("                        <div class=\"label-text floatLeft\" style=\"width:60%;\">Within Terms &nbsp;</div>\r");_.b("\n" + i);_.b("                        <div class=\"label-data floatLeft textAlignCenter\" style=\"width:40%;\"><b>&nbsp;");_.b(_.v(_.f("OwingCurrentLabel",c,p,0)));_.b("</b></div>\r");_.b("\n" + i);_.b("                        <div class=\"clear\"></div>\r");_.b("\n" + i);_.b("                    </div>\r");_.b("\n" + i);_.b("                    <div class=\"row\">\r");_.b("\n" + i);_.b("                        <div class=\"label-text floatLeft\" style=\"width:60%;\">1 to 30 Days &nbsp;</div>\r");_.b("\n" + i);_.b("                        <div class=\"label-data floatLeft textAlignCenter\" style=\"width:40%;\"><b>&nbsp;");_.b(_.v(_.f("Owing1to30Label",c,p,0)));_.b("</b></div>\r");_.b("\n" + i);_.b("                        <div class=\"clear\"></div>\r");_.b("\n" + i);_.b("                    </div>\r");_.b("\n" + i);_.b("                    <div class=\"row\">\r");_.b("\n" + i);_.b("                        <div class=\"label-text floatLeft\" style=\"width:60%;\">31 to 60 Days &nbsp;</div>\r");_.b("\n" + i);_.b("                        <div class=\"label-data floatLeft textAlignCenter\" style=\"width:40%;\"><b>&nbsp;");_.b(_.v(_.f("Owing31to60Label",c,p,0)));_.b("</b></div>\r");_.b("\n" + i);_.b("                        <div class=\"clear\"></div>\r");_.b("\n" + i);_.b("                    </div>\r");_.b("\n" + i);_.b("                    <div class=\"row\">\r");_.b("\n" + i);_.b("                        <div class=\"label-text floatLeft\" style=\"width:60%;\">61 to 90 Days &nbsp;</div>\r");_.b("\n" + i);_.b("                        <div class=\"label-data floatLeft textAlignCenter\" style=\"width:40%;\"><b>&nbsp;");_.b(_.v(_.f("Owing61to90Label",c,p,0)));_.b("</b></div>\r");_.b("\n" + i);_.b("                        <div class=\"clear\"></div>\r");_.b("\n" + i);_.b("                    </div>\r");_.b("\n" + i);_.b("                    <div class=\"row\">\r");_.b("\n" + i);_.b("                        <div class=\"label-text floatLeft\" style=\"width:60%;\">90+ Days &nbsp;</div>\r");_.b("\n" + i);_.b("                        <div class=\"label-data floatLeft textAlignCenter\" style=\"width:40%;\"><b>&nbsp;");_.b(_.v(_.f("Owing91PlusLabel",c,p,0)));_.b("</b></div>\r");_.b("\n" + i);_.b("                        <div class=\"clear\"></div>\r");_.b("\n" + i);_.b("                    </div>\r");_.b("\n" + i);_.b("                    <div class=\"clear\"></div>\r");_.b("\n" + i);_.b("                </div>\r");_.b("\n" + i);_.b("                <div class=\"clear\"></div>\r");_.b("\n" + i);_.b("                <div class=\"height10\"></div>\r");_.b("\n" + i);if(_.s(_.f("HasLatePaymentDays",c,p,1),c,p,0,5374,5582,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("                <div class=\"row\">\r");_.b("\n" + i);_.b("                    <span>On average this organisation is paying <i class=\"ugReviewLPD\">");_.b(_.v(_.f("LatePaymentDays",c,p,0)));_.b("</i> days late.</span>\r");_.b("\n" + i);_.b("                </div>\r");_.b("\n");});c.pop();}_.b("                <div class=\"clear\"></div>                \r");_.b("\n" + i);_.b("            </td>\r");_.b("\n" + i);_.b("            <td class=\"textAlignCenter vert-algn-mdl\">");_.b(_.v(_.f("UserGroupName",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("            <td class=\"textAlignCenter vert-algn-mdl\">");_.b(_.v(_.f("CreateDateString",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("            <td class=\"textAlignCenter vert-algn-mdl\">");_.b(_.v(_.f("ExpiryDateString",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("            <td class=\"textAlignCenter vert-algn-mdl\">\r");_.b("\n" + i);_.b("                <div title=\"");_.b(_.v(_.f("UserDetailsLabel",c,p,0)));_.b("\" class=\"flagged\">");_.b(_.v(_.f("FlaggedBy",c,p,0)));_.b("</div>\r");_.b("\n" + i);_.b("            </td>\r");_.b("\n" + i);_.b("        </tr>\r");_.b("\n");});c.pop();}_.b("    </tbody>\r");_.b("\n" + i);_.b("</table>\r");_.b("\n");return _.fl();;};
VedaTPBTemplates['AccountDetailPaymentHistory']=new Hogan.Template();VedaTPBTemplates['AccountDetailPaymentHistory'].r=function(c,p,i){var _=this;_.b(i=i||"");_.b("<div class=\"height20\">\r");_.b("\n" + i);_.b("</div>\r");_.b("\n" + i);_.b("<div style=\"min-width: 310px; overflow:auto; padding: 0;\">\r");_.b("\n" + i);_.b("    <table id=\"tableAccountPaymentHistory\" class=\"tableAccountsList table table-no-bordered table-striped\" cellspacing=\"0\" width=\"100%\" role=\"grid\" style=\"width: 100%; margin: 0;\">\r");_.b("\n" + i);_.b("        <thead>\r");_.b("\n" + i);_.b("            <tr style=\"padding-right: 14px;\">\r");_.b("\n" + i);_.b("                <th class=\"vert-algn-mdl\" style=\"width: 9%;\">Period</th>\r");_.b("\n" + i);_.b("                <th class=\"vert-algn-mdl textAlignCenter lightGreenFont\">Within Terms</th>\r");_.b("\n" + i);_.b("                <th class=\"vert-algn-mdl textAlignCenter greenFont\">1-30 Days</th>\r");_.b("\n" + i);_.b("                <th class=\"vert-algn-mdl textAlignCenter yellowFont\">31-60 Days</th>\r");_.b("\n" + i);_.b("                <th class=\"vert-algn-mdl textAlignCenter orangeFont\">61-90 Days</th>\r");_.b("\n" + i);_.b("                <th class=\"vert-algn-mdl textAlignCenter darkRedFont\">90+ Days</th>\r");_.b("\n" + i);_.b("                <th class=\"vert-algn-mdl textAlignCenter\">Total Amount</th>\r");_.b("\n" + i);_.b("                <th class=\"vert-algn-mdl textAlignCenter\">Total Owing</th>\r");_.b("\n" + i);_.b("                <th class=\"vert-algn-mdl textAlignCenter\" style=\"width: 13.1%;\">Total Past Due</th>\r");_.b("\n" + i);_.b("            </tr>\r");_.b("\n" + i);_.b("        </thead>\r");_.b("\n" + i);_.b("        <tbody style=\"max-height: 300px; overflow-y:auto; border: 1px solid #dddddd;\">\r");_.b("\n" + i);if(!_.s(_.f("Results",c,p,1),c,p,1,0,0,"")){if(_.s(_.f("Loading",c,p,1),c,p,0,1274,1375,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("            <tr>\r");_.b("\n" + i);_.b("                <td colspan=\"10\">Loading...</td>\r");_.b("\n" + i);_.b("            </tr>\r");_.b("\n");});c.pop();}if(!_.s(_.f("Loading",c,p,1),c,p,1,0,0,"")){_.b("            <tr>\r");_.b("\n" + i);_.b("                <td colspan=\"10\">No Data Available</td>\r");_.b("\n" + i);_.b("            </tr>\r");_.b("\n");};};if(_.s(_.f("Results",c,p,1),c,p,0,1585,2446,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("            <tr>\r");_.b("\n" + i);_.b("                <td class=\"vert-algn-mdl\" style=\"width: 9%;\">");_.b(_.v(_.f("Period",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("                <td class=\"vert-algn-mdl textAlignCenter\">");_.b(_.v(_.f("WithInTerms",c,p,0)));_.b("</></td>\r");_.b("\n" + i);_.b("                <td class=\"vert-algn-mdl textAlignCenter\">");_.b(_.v(_.f("OverdueAmount1To30",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("                <td class=\"vert-algn-mdl textAlignCenter\">");_.b(_.v(_.f("OverdueAmount31To60",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("                <td class=\"vert-algn-mdl textAlignCenter\">");_.b(_.v(_.f("OverdueAmount61To90",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("                <td class=\"vert-algn-mdl textAlignCenter\">");_.b(_.v(_.f("OverdueAmount91Plus",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("                <td class=\"vert-algn-mdl textAlignCenter boldFont\" nowrap=\"\">");_.b(_.v(_.f("TotaLAmount",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("                <td class=\"vert-algn-mdl textAlignCenter boldFont\">");_.b(_.v(_.f("TotalOwed",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("                <td class=\"vert-algn-mdl textAlignCenter boldFont\" style=\"width: 13.1%;\">");_.b(_.v(_.f("TotalPastDue",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("            </tr>\r");_.b("\n");});c.pop();}_.b("        </tbody>\r");_.b("\n" + i);_.b("    </table>\r");_.b("\n" + i);_.b("</div>");return _.fl();;};
VedaTPBTemplates['AccountList']=new Hogan.Template();VedaTPBTemplates['AccountList'].r=function(c,p,i){var _=this;_.b(i=i||"");_.b("<table class=\"tableAccountsList tableSorting table table-no-bordered table-striped no-footer\" cellspacing=\"0\" width=\"100%\" style=\"width: 100%; margin: 0;\">\r");_.b("\n" + i);_.b("    <col width=\"24%\" />\r");_.b("\n" + i);_.b("    <col width=\"10%\" />\r");_.b("\n" + i);_.b("    <col width=\"10%\" />\r");_.b("\n" + i);_.b("    <col width=\"8%\" />\r");_.b("\n" + i);_.b("    <col width=\"8%\" />\r");_.b("\n" + i);_.b("    <col width=\"8%\" />\r");_.b("\n" + i);if(_.s(_.f("AllowPRS",c,p,1),c,p,0,321,375,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("    <col width=\"7%\" />\r");_.b("\n" + i);_.b("    <col width=\"7%\" />\r");_.b("\n");});c.pop();}if(!_.s(_.f("AgregatedView",c,p,1),c,p,1,0,0,"")){_.b("    <col width=\"7%\" />\r");_.b("\n");};_.b("    <col width=\"5%\" />    \r");_.b("\n" + i);_.b("    <col width=\"5%\" />\r");_.b("\n" + i);_.b("    <col width=\"5%\" />\r");_.b("\n" + i);_.b("    <thead>\r");_.b("\n" + i);_.b("        <tr >\r");_.b("\n" + i);_.b("            <th class=\"vert-algn-mdl accountTopLeftHead sortable\" rowspan=\"2\" data-sort-value=\"Account Name\"><b>Account Information</b></th>\r");_.b("\n" + i);if(_.s(_.f("AgregatedView",c,p,1),c,p,0,738,846,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("            <!--<th class=\"accountTopLeftHead\" rowspan=\"2\">Business Unit Information</th>-->\r");_.b("\n");});c.pop();}_.b("            <th class=\"vert-algn-mdl textAlignCenter sortable\" rowspan=\"2\" data-sort-value=\"Total Owing\"><b>Total Owing</b></th>\r");_.b("\n" + i);_.b("            <th class=\"vert-algn-mdl textAlignCenter sortable\" rowspan=\"2\" data-sort-value=\"Total Past Due\"><b>Total Past Due</b></th>\r");_.b("\n" + i);_.b("            <th class=\"vert-algn-mdl textAlignCenter lft-grey-border rgt-grey-border\" rowspan=\"1\" colspan=\"3\" style=\"color: #999999; /*color: #333333; font-family: 'HelveticaNeueRegular';*/ font-size:15px; border-bottom: none;\">Late Payment Days</th>\r");_.b("\n" + i);if(_.s(_.f("AllowPRS",c,p,1),c,p,0,1409,1688,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("            <th class=\"vert-algn-mdl textAlignCenter sortable\" rowspan=\"2\" data-sort-value=\"Risk Score\"><b>Risk Score</b></th>\r");_.b("\n" + i);_.b("            <th class=\"vert-algn-mdl textAlignCenter sortable\" rowspan=\"2\" data-sort-value=\"Risk Score Change\"><b>Score Change</b></th>\r");_.b("\n");});c.pop();}if(!_.s(_.f("AgregatedView",c,p,1),c,p,1,0,0,"")){_.b("            <th class=\"vert-algn-mdl sortable\" rowspan=\"2\" data-sort-value=\"Industry\"><b>Industry</b></th>\r");_.b("\n");};_.b("            <th class=\"vert-algn-mdl textAlignCenter sortable\" rowspan=\"2\" data-sort-value=\"Adverse Flag\"><b>Adverse</b></th>\r");_.b("\n" + i);_.b("            <th class=\"vert-algn-mdl textAlignCenter sortable\" rowspan=\"2\" data-sort-value=\"Alerts Flag\"><b>Alerts</b></th>\r");_.b("\n" + i);_.b("            <th class=\"vert-algn-mdl textAlignCenter\" rowspan=\"2\"><b>More Products</b></th>\r");_.b("\n" + i);_.b("        </tr>\r");_.b("\n" + i);_.b("        <tr >\r");_.b("\n" + i);_.b("            <th class=\"vert-algn-mdl textAlignCenter lft-grey-border sortable\" rowspan=\"1\" data-sort-value=\"Late Payment Days (You)\" style=\"\"><b>You</b></th>\r");_.b("\n" + i);_.b("            <th class=\"vert-algn-mdl textAlignCenter\" rowspan=\"1\" style=\"\"><b>Trend</b></th>\r");_.b("\n" + i);_.b("            <th class=\"vert-algn-mdl textAlignCenter sortable\" rowspan=\"1\" data-sort-value=\"Late Payment Days (Market)\" style=\"\"><b>Market</b></th>\r");_.b("\n" + i);_.b("        </tr>\r");_.b("\n" + i);_.b("    </thead>\r");_.b("\n" + i);if(!_.s(_.f("Results",c,p,1),c,p,1,0,0,"")){if(_.s(_.f("Loading",c,p,1),c,p,0,2715,2847,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("    <tr style=\"height:50px; text-align:center; vertical-align:middle;\">\r");_.b("\n" + i);_.b("        <td colspan=\"12\">Loading...</td>\r");_.b("\n" + i);_.b("    </tr>\r");_.b("\n");});c.pop();}if(!_.s(_.f("Loading",c,p,1),c,p,1,0,0,"")){_.b("    <tr style=\"height:50px; text-align:center; vertical-align:middle;\">\r");_.b("\n" + i);_.b("        <td colspan=\"12\">No Results</td>\r");_.b("\n" + i);_.b("    </tr>\r");_.b("\n");};};if(_.s(_.f("Results",c,p,1),c,p,0,3057,6780,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("    <tr data-group-id=\"");_.b(_.v(_.f("GroupId",c,p,0)));_.b("\" >\r");_.b("\n" + i);_.b("        <td class=\"accountListInformation\">\r");_.b("\n" + i);_.b("            <div class=\"floatLeft accountDetailExpandLink\"></div>\r");_.b("\n" + i);_.b("            <div class=\"floatLeft\" style=\"min-width: 150px; max-width: 190px;\">\r");_.b("\n" + i);_.b("                <a href=\"");_.b(_.v(_.f("AccountDetailUrl",c,p,0)));_.b("?debtorId=");_.b(_.v(_.f("DebtorID",c,p,0)));_.b("\" class=\"accountName\">");_.b(_.v(_.f("AccountName",c,p,0)));_.b("</a>\r");_.b("\n" + i);_.b("                <a href=\"");_.b(_.v(_.f("AccountDetailUrl",c,p,0)));_.b("?debtorId=");_.b(_.v(_.f("DebtorID",c,p,0)));_.b("\" class=\"accountNameShort\">");_.b(_.v(_.f("AccountName",c,p,0)));_.b("</a>\r");_.b("\n" + i);_.b("                <a href=\"");_.b(_.v(_.f("AccountDetailUrl",c,p,0)));_.b("?debtorId=");_.b(_.v(_.f("DebtorID",c,p,0)));_.b("\" class=\"accountNumber\">");_.b(_.v(_.f("AccountID",c,p,0)));_.b("</a>\r");_.b("\n" + i);_.b("                <div class=\"clear\"></div>\r");_.b("\n" + i);_.b("                <p class=\"accountName\" style=\"padding-top: 2px;\">Supplied Name: ");_.b(_.v(_.f("DebtorName",c,p,0)));_.b("</p>\r");_.b("\n" + i);_.b("                <p class=\"accountABN\">ABN: ");_.b(_.v(_.f("ABN",c,p,0)));_.b("</p>\r");_.b("\n" + i);_.b("                <p class=\"accountACN\">ACN: ");_.b(_.v(_.f("ACN",c,p,0)));_.b("</p>\r");_.b("\n" + i);_.b("            </div>\r");_.b("\n" + i);_.b("            <div class=\"vert-algn-mdl floatRight\">\r");_.b("\n" + i);if(_.s(_.f("SCVID",c,p,1),c,p,0,3979,4103,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("                <span class=\"accountHierachyLinkLaunch\" id=\"accountHierachyLinkLaunch_");_.b(_.v(_.f("SCVID",c,p,0)));_.b("\"></span>\r");_.b("\n");});c.pop();}_.b("            </div>\r");_.b("\n" + i);_.b("        </td>\r");_.b("\n" + i);if(_.s(_.f("AgregatedView",c,p,1),c,p,0,4176,4311,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("        <!--<td class=\"textAlignRight\">\r");_.b("\n" + i);_.b("            ");_.b(_.v(_.f("DataProviderName",c,p,0)));_.b("<br />\r");_.b("\n" + i);_.b("            ");_.b(_.v(_.f("LedgerID",c,p,0)));_.b("\r");_.b("\n" + i);_.b("        </td>-->\r");_.b("\n");});c.pop();}_.b("        <td class=\"vert-algn-mdl textAlignRight\" style=\"padding-right: 25px !important;\">");_.b(_.v(_.f("TotalAmount",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("        <td class=\"vert-algn-mdl textAlignRight\" style=\"padding-right: 25px !important;\">");_.b(_.v(_.f("TotalPastDue",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("        <td class=\"vert-algn-mdl textAlignCenter colDBTAccountList lft-grey-border rgt-grey-border\">\r");_.b("\n" + i);_.b("             <div class=\"dot-div accountFigure\">");_.b(_.v(_.f("DBT",c,p,0)));_.b("</div>\r");_.b("\n" + i);_.b("        </td>\r");_.b("\n" + i);_.b("        <td class=\"vert-algn-mdl CompareTrend\">\r");_.b("\n" + i);_.b("            <i style=\"display: none;\">");_.b(_.v(_.f("DBTMarketTrend",c,p,0)));_.b("</i>\r");_.b("\n" + i);_.b("            <div style=\"margin:auto;\"></div>\r");_.b("\n" + i);_.b("        </td>\r");_.b("\n" + i);_.b("        <td class=\"vert-algn-mdl textAlignCenter colDBTAccountList lft-grey-border rgt-grey-border\">\r");_.b("\n" + i);_.b("            <div class=\"dot-div accountFigure\">");_.b(_.v(_.f("DBTMarket",c,p,0)));_.b("</div>\r");_.b("\n" + i);_.b("        </td>\r");_.b("\n" + i);if(_.s(_.f("IsPremium",c,p,1),c,p,0,5113,5553,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("        <td class=\"vert-algn-mdl accountsListScore\" style=\"padding-left: 20px !important;\">\r");_.b("\n" + i);_.b("            <div class=\"dot-div accountFigure ");_.b(_.v(_.f("PRSScoreCss",c,p,0)));_.b("\" style=\"color: #000000;\">");_.b(_.v(_.f("PRSScore",c,p,0)));_.b("</div>\r");_.b("\n" + i);_.b("        </td>\r");_.b("\n" + i);_.b("        <td class=\"vert-algn-mdl accountsListScore\" style=\"padding-left: 20px !important;\">\r");_.b("\n" + i);_.b("            <div class=\"dot-div accountFigure ");_.b(_.v(_.f("PRSDeltaCss",c,p,0)));_.b("\" style=\"color: #000000;\">");_.b(_.v(_.f("PRSDelta",c,p,0)));_.b("</div>\r");_.b("\n" + i);_.b("        </td>\r");_.b("\n");});c.pop();}if(!_.s(_.f("AgregatedView",c,p,1),c,p,1,0,0,"")){_.b("        <td class=\"vert-algn-mdl accountsListIndustry\" style=\"text-align: left;\">\r");_.b("\n" + i);_.b("            <div title=\"");_.b(_.v(_.f("IndustryNoCode",c,p,0)));_.b("\" style=\"max-width: 70px;overflow:hidden;text-overflow:ellipsis; white-space:nowrap;\">");_.b(_.v(_.f("IndustrySummary",c,p,0)));_.b("</div>\r");_.b("\n" + i);_.b("        </td>\r");_.b("\n");};_.b("        <td class=\"vert-algn-mdl accountsListAdverse\">\r");_.b("\n" + i);_.b("            ");if(_.s(_.f("Adverse",c,p,1),c,p,0,5958,6071,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("<div class=\"adverseFlagDiv\"><img src='content/css/images/adverseFlag.png' width='16' height='19' href=\"#\"/></div>");});c.pop();}_.b("\r");_.b("\n" + i);_.b("        </td>\r");_.b("\n" + i);_.b("        <td class=\"vert-algn-mdl accountsListAlerts\">\r");_.b("\n" + i);_.b("            ");if(_.s(_.f("HasAlerts",c,p,1),c,p,0,6181,6288,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("<div class=\"alertsDiv\"><img src='content/css/images/alertsIcon.png' width='16' height='16' href=\"#\"/></div>");});c.pop();}_.b("\r");_.b("\n" + i);_.b("        </td>\r");_.b("\n" + i);_.b("        <td class=\"vert-algn-mdl textAlignCenter\">\r");_.b("\n" + i);_.b("            <div class=\"moreProductsDiv productLinkLaunch\" id=\"account_");_.b(_.v(_.f("DebtorID",c,p,0)));_.b("\" abn=\"");_.b(_.v(_.f("ABN",c,p,0)));_.b("\" acn=\"");_.b(_.v(_.f("ACN",c,p,0)));_.b("\" accname=\"");_.b(_.v(_.f("DebtorName",c,p,0)));_.b("\" accmatched=\"");_.b(_.v(_.f("AccountMatched",c,p,0)));_.b("\" accnumber=\"");_.b(_.v(_.f("AccountID",c,p,0)));_.b("\" filenumber=\"");_.b(_.v(_.f("SecureFileNumber",c,p,0)));_.b("\" title=\"Equifax Products\" href=\"#\">\r");_.b("\n" + i);_.b("                <img src='content/css/images/moreIcon.png' width='30' height='7' href=\"#\"/>\r");_.b("\n" + i);_.b("            </div>\r");_.b("\n" + i);_.b("        </td>\r");_.b("\n" + i);_.b("    </tr>\r");_.b("\n");});c.pop();}_.b("</table>\r");_.b("\n");return _.fl();;};
VedaTPBTemplates['AcountPerformanceByDBT']=new Hogan.Template();VedaTPBTemplates['AcountPerformanceByDBT'].r=function(c,p,i){var _=this;_.b(i=i||"");_.b("<thead>\r");_.b("\n" + i);_.b("    <tr>\r");_.b("\n" + i);_.b("        <th width=\"20%\">\r");_.b("\n" + i);_.b("            Period\r");_.b("\n" + i);_.b("        </th>\r");_.b("\n" + i);_.b("        <th class=\"greenFont\">\r");_.b("\n" + i);_.b("            0-15 days\r");_.b("\n" + i);_.b("        </th>\r");_.b("\n" + i);_.b("        <th class=\"yellowFont\">\r");_.b("\n" + i);_.b("            16-29 days\r");_.b("\n" + i);_.b("        </th>\r");_.b("\n" + i);_.b("        <th class=\"orangeFont\">\r");_.b("\n" + i);_.b("            30-44 days\r");_.b("\n" + i);_.b("        </th>\r");_.b("\n" + i);_.b("        <th class=\"darkRedFont\">\r");_.b("\n" + i);_.b("            45-105 days\r");_.b("\n" + i);_.b("        </th>\r");_.b("\n" + i);_.b("    </tr>\r");_.b("\n" + i);_.b("</thead>\r");_.b("\n" + i);_.b("<tbody >\r");_.b("\n" + i);if(_.s(_.f("rows",c,p,1),c,p,0,412,1070,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("    <tr>\r");_.b("\n" + i);_.b("        <td>\r");_.b("\n" + i);_.b("            ");_.b(_.v(_.f("PeriodString",c,p,0)));_.b("\r");_.b("\n" + i);_.b("        </td>\r");_.b("\n" + i);_.b("        <td>\r");_.b("\n" + i);_.b("            <a href=\"");_.b(_.v(_.f("NumAccountsVeryGoodLink",c,p,0)));_.b("\" title=\"");_.b(_.v(_.f("NumAccountsVeryGoodString",c,p,0)));_.b("\">");_.b(_.v(_.f("NumAccountsVeryGoodString",c,p,0)));_.b("</a>\r");_.b("\n" + i);_.b("        </td>\r");_.b("\n" + i);_.b("        <td>\r");_.b("\n" + i);_.b("            <a href=\"");_.b(_.v(_.f("NumAccountsGoodLink",c,p,0)));_.b("\" title=\"");_.b(_.v(_.f("NumAccountsGoodString",c,p,0)));_.b("\">");_.b(_.v(_.f("NumAccountsGoodString",c,p,0)));_.b("</a>\r");_.b("\n" + i);_.b("        </td>\r");_.b("\n" + i);_.b("        <td>\r");_.b("\n" + i);_.b("            <a href=\"");_.b(_.v(_.f("NumAccountsFairLink",c,p,0)));_.b("\" title=\"");_.b(_.v(_.f("NumAccountsFairString",c,p,0)));_.b("\">");_.b(_.v(_.f("NumAccountsFairString",c,p,0)));_.b("</a>\r");_.b("\n" + i);_.b("        </td>\r");_.b("\n" + i);_.b("        <td>\r");_.b("\n" + i);_.b("            <a href=\"");_.b(_.v(_.f("NumAccountsPoorLink",c,p,0)));_.b("\" title=\"");_.b(_.v(_.f("NumAccountsPoorString",c,p,0)));_.b("\">");_.b(_.v(_.f("NumAccountsPoorString",c,p,0)));_.b("</a>\r");_.b("\n" + i);_.b("        </td>\r");_.b("\n" + i);_.b("    </tr>\r");_.b("\n");});c.pop();}_.b("</tbody>");return _.fl();;};
VedaTPBTemplates['ComparisonIndustryTable']=new Hogan.Template();VedaTPBTemplates['ComparisonIndustryTable'].r=function(c,p,i){var _=this;_.b(i=i||"");_.b("<table id=\"compareIndustryTable\" class=\"table table-no-bordered table-striped\" style=\"border: 1px solid #dddddd;\">\r");_.b("\n" + i);_.b("    <thead style=\"border:none;\">\r");_.b("\n" + i);_.b("        <tr>\r");_.b("\n" + i);_.b("            <td></td>\r");_.b("\n" + i);_.b("            <td class=\"textAlignCenter vert-algn-mdl\" colspan=\"7\" style=\"font-size:15px !important; background: #ffffff;\">\r");_.b("\n" + i);_.b("                <b>Average over the Last Four Periods</b>\r");_.b("\n" + i);_.b("            </td>\r");_.b("\n" + i);_.b("        </tr>\r");_.b("\n" + i);_.b("        <tr style=\"border-top: 2px solid #dddddd; border-bottom: 1px solid #dddddd;\">\r");_.b("\n" + i);_.b("            <td></td>\r");_.b("\n" + i);_.b("            <td class=\"textAlignCenter vert-algn-mdl\"><b>Late Payment Days</b></td>\r");_.b("\n" + i);_.b("            <td class=\"textAlignCenter vert-algn-mdl\"><b>% of debt within terms</b></td>\r");_.b("\n" + i);_.b("            <td class=\"textAlignCenter vert-algn-mdl\"><b>% of debt past due</b></td>\r");_.b("\n" + i);_.b("            <td class=\"textAlignCenter vert-algn-mdl\"><b>% of debt 31+ days past due</b></td>\r");_.b("\n" + i);_.b("            <td class=\"textAlignCenter vert-algn-mdl\"><b>% of debt 61+ days past due</b></td>\r");_.b("\n" + i);_.b("            <td class=\"textAlignCenter vert-algn-mdl\" style=\"border-right: 1px solid #dddddd;\"><b>% of debt 91+ days past due</b></td>\r");_.b("\n" + i);_.b("        </tr>\r");_.b("\n" + i);_.b("    </thead>\r");_.b("\n" + i);_.b("    <tbody style=\"border: none;\">\r");_.b("\n" + i);if(_.s(_.f("Results",c,p,1),c,p,0,1185,1740,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("        <tr>\r");_.b("\n" + i);_.b("            <td class=\"vert-algn-mdl\">");_.b(_.v(_.f("PaymentSource",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("            <td class=\"textAlignCenter vert-algn-mdl\">");_.b(_.v(_.f("DBT",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("            <td class=\"textAlignCenter vert-algn-mdl\">");_.b(_.v(_.f("PercWithinTerms",c,p,0)));_.b("%</td>\r");_.b("\n" + i);_.b("            <td class=\"textAlignCenter vert-algn-mdl\">");_.b(_.v(_.f("PercPastDue",c,p,0)));_.b("%</td>\r");_.b("\n" + i);_.b("            <td class=\"textAlignCenter vert-algn-mdl\">");_.b(_.v(_.f("Perc31Plus",c,p,0)));_.b("%</td>\r");_.b("\n" + i);_.b("            <td class=\"textAlignCenter vert-algn-mdl\">");_.b(_.v(_.f("Perc61Plus",c,p,0)));_.b("%</td>\r");_.b("\n" + i);_.b("            <td class=\"textAlignCenter vert-algn-mdl\">");_.b(_.v(_.f("Perc91Plus",c,p,0)));_.b("%</td>\r");_.b("\n" + i);_.b("        </tr>\r");_.b("\n");});c.pop();}if(!_.s(_.f("Results",c,p,1),c,p,1,0,0,"")){_.b("        <tr>\r");_.b("\n" + i);_.b("            <td colspan=\"7\">No Results</td>\r");_.b("\n" + i);_.b("        </tr>\r");_.b("\n");};_.b("    </tbody>\r");_.b("\n" + i);_.b("</table>\r");_.b("\n");return _.fl();;};
VedaTPBTemplates['DataProviderAlertConfig']=new Hogan.Template();VedaTPBTemplates['DataProviderAlertConfig'].r=function(c,p,i){var _=this;_.b(i=i||"");if(!_.s(_.f("PortfoliosExist",c,p,1),c,p,1,0,0,"")){_.b("<div class=\"clear\"></div>\r");_.b("\n" + i);_.b("<h3>\r");_.b("\n" + i);_.b("    Allow users to load accounts to Alerts on a Previously set up portfolio.\r");_.b("\n" + i);_.b("</h3>\r");_.b("\n" + i);_.b("<div class=\"clear\"></div>\r");_.b("\n" + i);_.b("<div class=\"height10\"></div>\r");_.b("\n" + i);_.b("<h3>\r");_.b("\n" + i);_.b("    <b>Please setup an Alerts portfolio in IQ Connect to be able to use the alerts monitoring functionality.</b>\r");_.b("\n" + i);_.b("</h3>\r");_.b("\n" + i);_.b("<div class=\"clear\"></div>\r");_.b("\n" + i);_.b("<div class=\"floatLeft\">\r");_.b("\n" + i);_.b("    <label><strong>Monitor Accounts?</strong></label>\r");_.b("\n" + i);_.b("    <select id=\"monitorAccountsFlag\" name=\"monitorAccountsFlag\" class=\"smallInput styleDropdownList\" disabled=\"disabled\">\r");_.b("\n" + i);_.b("        <option value=\"1\" ");if(_.s(_.f("MonitorAccounts",c,p,1),c,p,0,600,610,"{{ }}")){_.rs(c,p,function(c,p,_){_.b(" selected ");});c.pop();}_.b(">Yes</option>\r");_.b("\n" + i);_.b("        <option value=\"0\" ");if(!_.s(_.f("MonitorAccounts",c,p,1),c,p,1,0,0,"")){_.b(" selected ");};_.b(">No</option>\r");_.b("\n" + i);_.b("    </select>\r");_.b("\n" + i);_.b("</div>\r");_.b("\n" + i);_.b("<div class=\"clear\"></div>\r");_.b("\n" + i);_.b("<div class=\"height20\"></div>\r");_.b("\n");};if(_.s(_.f("PortfoliosExist",c,p,1),c,p,0,857,4418,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("<div class=\"clear\"></div>\r");_.b("\n" + i);_.b("<h3>\r");_.b("\n" + i);_.b("    Allow users to load accounts to Alerts on a Previously set up portfolio.\r");_.b("\n" + i);_.b("</h3>\r");_.b("\n" + i);_.b("<div class=\"clear\"></div>\r");_.b("\n" + i);_.b("<div class=\"height20\"></div>\r");_.b("\n" + i);_.b("<div class=\"floatLeft\">\r");_.b("\n" + i);_.b("    <label><strong>Monitor Accounts?</strong></label>\r");_.b("\n" + i);_.b("    <select id=\"monitorAccountsFlag\" name=\"monitorAccountsFlag\" class=\"smallInput styleDropdownList\">\r");_.b("\n" + i);_.b("        <option value=\"1\" ");if(_.s(_.f("MonitorAccounts",c,p,1),c,p,0,1263,1273,"{{ }}")){_.rs(c,p,function(c,p,_){_.b(" selected ");});c.pop();}_.b(">Yes</option>\r");_.b("\n" + i);_.b("        <option value=\"0\" ");if(!_.s(_.f("MonitorAccounts",c,p,1),c,p,1,0,0,"")){_.b(" selected ");};_.b(">No</option>\r");_.b("\n" + i);_.b("    </select>\r");_.b("\n" + i);_.b("</div>\r");_.b("\n" + i);_.b("<div class=\"clear\"></div>\r");_.b("\n" + i);_.b("<div class=\"height20\"></div>\r");_.b("\n" + i);_.b("<div id=\"alertMappingContainer\" class=\"floatLeft\">\r");_.b("\n" + i);if(_.s(_.f("MonitorAccounts",c,p,1),c,p,0,1553,4388,"{{ }}")){_.rs(c,p,function(c,p,_){if(_.s(_.f("PortfolioLedgerMaps",c,p,1),c,p,0,1583,3356,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("    <div class=\"floatLeft\">\r");_.b("\n" + i);_.b("        <div class=\"floatLeft\">\r");_.b("\n" + i);_.b("            <span style=\"width: 100px; display: block\">&nbsp;</span>\r");_.b("\n" + i);_.b("        </div>\r");_.b("\n" + i);_.b("        <div id=\"ledgerMappingContainer\" class=\"floatLeft\" style=\"\">\r");_.b("\n" + i);_.b("            <div class=\"row\">\r");_.b("\n" + i);_.b("                <div>\r");_.b("\n" + i);_.b("                    <div class=\"formField\">\r");_.b("\n" + i);_.b("                        <div class=\"formFieldRight\">\r");_.b("\n" + i);_.b("                            <input type=\"text\" class=\"span2\" value=\"");_.b(_.v(_.f("LedgerName",c,p,0)));_.b("\" id=\"");_.b(_.v(_.f("LedgerName",c,p,0)));_.b("_");_.b(_.v(_.f("LedgerId",c,p,0)));_.b("\" disabled=\"disabled\">\r");_.b("\n" + i);_.b("                        </div>\r");_.b("\n" + i);_.b("                    </div>\r");_.b("\n" + i);_.b("                </div>\r");_.b("\n" + i);_.b("                <div class=\"clear\"></div>\r");_.b("\n" + i);_.b("                <div class=\"height20\"></div>\r");_.b("\n" + i);_.b("            </div>\r");_.b("\n" + i);_.b("        </div>\r");_.b("\n" + i);_.b("    </div>\r");_.b("\n" + i);_.b("    <div class=\"floatLeft\" style=\"width: 40px\">\r");_.b("\n" + i);_.b("        <br>\r");_.b("\n" + i);_.b("    </div>\r");_.b("\n" + i);_.b("    <div class=\"floatLeft\">\r");_.b("\n" + i);_.b("        <div class=\"row\">\r");_.b("\n" + i);_.b("            <div class=\"formField\">\r");_.b("\n" + i);_.b("                <div class=\"formFieldLeft\">\r");_.b("\n" + i);_.b("                    <label><strong>Select Alerts Portfolio</strong></label>\r");_.b("\n" + i);_.b("                </div>\r");_.b("\n" + i);_.b("                <div class=\"formFieldRight\">\r");_.b("\n" + i);_.b("                    <select id=\"portfilio_ledger_");_.b(_.v(_.f("LedgerId",c,p,0)));_.b("\" name=\"portfolio_ledger_");_.b(_.v(_.f("LedgerId",c,p,0)));_.b("\" class=\"mediumInput styleDropdownList\">\r");_.b("\n" + i);if(_.s(_.f("Portfolios",c,p,1),c,p,0,2855,3006,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("                            <option value=\"");_.b(_.v(_.f("PortfolioId",c,p,0)));_.b("\" ");if(_.s(_.f("Selected",c,p,1),c,p,0,2930,2940,"{{ }}")){_.rs(c,p,function(c,p,_){_.b(" selected ");});c.pop();}_.b(">");_.b(_.v(_.f("PortfolioName",c,p,0)));_.b("</option>\r");_.b("\n");});c.pop();}if(!_.s(_.f("Portfolios",c,p,1),c,p,1,0,0,"")){_.b("                            <option value=\"-1\">No Portfolios Setup</option>\r");_.b("\n");};_.b("                    </select>\r");_.b("\n" + i);_.b("                </div>\r");_.b("\n" + i);_.b("\r");_.b("\n" + i);_.b("            </div>\r");_.b("\n" + i);_.b("        </div>\r");_.b("\n" + i);_.b("    </div>\r");_.b("\n" + i);_.b("    <div class=\"clear\"></div>\r");_.b("\n" + i);_.b("    <div class=\"height20\"></div>\r");_.b("\n");});c.pop();}_.b("    <h3>Correspondence recipients receive Alerts notifications once succesfully loaded</h3>\r");_.b("\n" + i);_.b("    <div class=\"clear\"></div>\r");_.b("\n" + i);_.b("    <div class=\"height10\"></div>\r");_.b("\n" + i);_.b("    <div class=\"row\">\r");_.b("\n" + i);_.b("    <div class=\"floatLeft\">\r");_.b("\n" + i);_.b("        <div class=\"formField\">\r");_.b("\n" + i);_.b("            <div class=\"formFieldLeft\">\r");_.b("\n" + i);_.b("                <label>\r");_.b("\n" + i);_.b("                    <strong>Name</strong>\r");_.b("\n" + i);_.b("                </label>\r");_.b("\n" + i);_.b("            </div>\r");_.b("\n" + i);_.b("            <div class=\"formFieldRight\">\r");_.b("\n" + i);_.b("                <input type=\"text\" class=\"span2\" value=\"");_.b(_.v(_.f("ContactName",c,p,0)));_.b("\" id=\"alertContactName\">\r");_.b("\n" + i);_.b("            </div>\r");_.b("\n" + i);_.b("        </div>\r");_.b("\n" + i);_.b("    </div>\r");_.b("\n" + i);_.b("    <div class=\"floatLeft\">\r");_.b("\n" + i);_.b("        <div class=\"formField\">\r");_.b("\n" + i);_.b("            <div class=\"formFieldLeft\">\r");_.b("\n" + i);_.b("                <label>\r");_.b("\n" + i);_.b("                    <strong>Email *</strong>\r");_.b("\n" + i);_.b("                </label>\r");_.b("\n" + i);_.b("            </div>\r");_.b("\n" + i);_.b("            <div class=\"formFieldRight\">\r");_.b("\n" + i);_.b("                <input type=\"text\" class=\"span3\" value=\"");_.b(_.v(_.f("ContactEmail",c,p,0)));_.b("\" id=\"alertContactEmail\">\r");_.b("\n" + i);_.b("            </div>\r");_.b("\n" + i);_.b("        </div>\r");_.b("\n" + i);_.b("    </div>\r");_.b("\n" + i);_.b("</div>\r");_.b("\n");});c.pop();}_.b("</div>\r");_.b("\n");});c.pop();}return _.fl();;};
VedaTPBTemplates['DataProviderContact']=new Hogan.Template();VedaTPBTemplates['DataProviderContact'].r=function(c,p,i){var _=this;_.b(i=i||"");if(_.s(_.f("rows",c,p,1),c,p,0,11,3319,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("  <div class=\"row\" id=\"");_.b(_.v(_.f("Id",c,p,0)));_.b("\">\r");_.b("\n" + i);_.b("\r");_.b("\n" + i);_.b("    <div class=\"floatLeft\">\r");_.b("\n" + i);_.b("      <div class=\"formField\">\r");_.b("\n" + i);_.b("        <div class=\"formFieldLeft\">\r");_.b("\n" + i);_.b("          <label>\r");_.b("\n" + i);_.b("            <strong>Name *</strong>\r");_.b("\n" + i);_.b("          </label>\r");_.b("\n" + i);_.b("        </div>\r");_.b("\n" + i);_.b("        <div class=\"formFieldRight\">\r");_.b("\n" + i);_.b("          <input type=\"text\" class=\"span2\" value=\"");_.b(_.v(_.f("Name",c,p,0)));_.b("\" id=\"ContactName_");_.b(_.v(_.f("Id",c,p,0)));_.b("\"/>\r");_.b("\n" + i);_.b("        </div>\r");_.b("\n" + i);_.b("      </div>\r");_.b("\n" + i);_.b("	</div>\r");_.b("\n" + i);_.b("\r");_.b("\n" + i);_.b("    <div class=\"floatLeft\">\r");_.b("\n" + i);_.b("      <div class=\"formField\">\r");_.b("\n" + i);_.b("        <div class=\"formFieldLeft\">\r");_.b("\n" + i);_.b("          <label>\r");_.b("\n" + i);_.b("            <strong>Email *</strong>\r");_.b("\n" + i);_.b("          </label>\r");_.b("\n" + i);_.b("        </div>\r");_.b("\n" + i);_.b("        <div class=\"formFieldRight\">\r");_.b("\n" + i);_.b("          <input type=\"text\" class=\"span3\" value=\"");_.b(_.v(_.f("Email",c,p,0)));_.b("\" id=\"ContactEmail_");_.b(_.v(_.f("Id",c,p,0)));_.b("\"/>\r");_.b("\n" + i);_.b("        </div>\r");_.b("\n" + i);_.b("      </div>\r");_.b("\n" + i);_.b("    </div>\r");_.b("\n" + i);_.b("\r");_.b("\n" + i);_.b("    <div class=\"clear\"></div>\r");_.b("\n" + i);_.b("    <div class=\"height10\"></div>\r");_.b("\n" + i);_.b("\r");_.b("\n" + i);_.b("    <div class=\"floatLeft\">\r");_.b("\n" + i);_.b("      <div class=\"formField\">\r");_.b("\n" + i);_.b("        <div class=\"formFieldLeft\">\r");_.b("\n" + i);_.b("          <label>\r");_.b("\n" + i);_.b("            <strong>Phone Number *</strong>\r");_.b("\n" + i);_.b("          </label>\r");_.b("\n" + i);_.b("        </div>\r");_.b("\n" + i);_.b("        <div class=\"formFieldRight\">\r");_.b("\n" + i);_.b("          <input type=\"text\" class=\"span2\" value=\"");_.b(_.v(_.f("PhoneNumber",c,p,0)));_.b("\" id=\"ContactPhoneNumber_");_.b(_.v(_.f("Id",c,p,0)));_.b("\" />\r");_.b("\n" + i);_.b("        </div>\r");_.b("\n" + i);_.b("      </div>\r");_.b("\n" + i);_.b("	</div>\r");_.b("\n" + i);_.b("\r");_.b("\n" + i);_.b("    <div class=\"floatLeft\">\r");_.b("\n" + i);_.b("      <div class=\"formField\">\r");_.b("\n" + i);_.b("        <div class=\"formFieldLeft\">\r");_.b("\n" + i);_.b("          <label>\r");_.b("\n" + i);_.b("            <strong>Position *</strong>\r");_.b("\n" + i);_.b("          </label>\r");_.b("\n" + i);_.b("        </div>\r");_.b("\n" + i);_.b("        <div class=\"formFieldRight\">\r");_.b("\n" + i);_.b("          <input type=\"text\" class=\"span2\" value=\"");_.b(_.v(_.f("Position",c,p,0)));_.b("\" id=\"ContactPosition_");_.b(_.v(_.f("Id",c,p,0)));_.b("\"/>\r");_.b("\n" + i);_.b("        </div>\r");_.b("\n" + i);_.b("      </div>\r");_.b("\n" + i);_.b("	</div>\r");_.b("\n" + i);_.b("\r");_.b("\n" + i);_.b("    <div class=\"clear\"></div>\r");_.b("\n" + i);_.b("    <div class=\"height5\"></div>\r");_.b("\n" + i);_.b("\r");_.b("\n" + i);_.b("    <div class=\"floatLeft\">\r");_.b("\n" + i);_.b("	  <div class=\"formField\">\r");_.b("\n" + i);_.b("        <div class=\"formFieldLeft\">\r");_.b("\n" + i);_.b("          <label>\r");_.b("\n" + i);_.b("            <strong>Notifications:	&nbsp;</strong>\r");_.b("\n" + i);_.b("          </label>\r");_.b("\n" + i);_.b("	  </div>\r");_.b("\n" + i);_.b("    </div>\r");_.b("\n" + i);_.b("\r");_.b("\n" + i);_.b("	<div class=\"clear\"></div>\r");_.b("\n" + i);_.b("    <div class=\"height10\"></div>\r");_.b("\n" + i);_.b("\r");_.b("\n" + i);_.b("    <div class=\"floatLeft\">\r");_.b("\n" + i);_.b("	  <div class=\"formField\" style=\"margin-left:70px;\" name=\"notificationOptions\">\r");_.b("\n" + i);_.b("	  <span>\r");_.b("\n" + i);_.b("        <input type=\"checkbox\" name=\"ProduceDataNotification_");_.b(_.v(_.f("Id",c,p,0)));_.b("\" ");if(_.s(_.f("ProduceDataNotification",c,p,1),c,p,0,2134,2145,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("checked=\"\" ");});c.pop();}_.b(">&nbsp;Produce data&nbsp;\r");_.b("\n" + i);_.b("\r");_.b("\n" + i);_.b("        <input type=\"checkbox\" name=\"LateDataSubmissionNotification_");_.b(_.v(_.f("Id",c,p,0)));_.b("\" ");if(_.s(_.f("LateDataSubmissionNotification",c,p,1),c,p,0,2313,2324,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("checked=\"\" ");});c.pop();}_.b(">&nbsp;Late data submission&nbsp;\r");_.b("\n" + i);_.b("\r");_.b("\n" + i);_.b("        <input type=\"checkbox\" name=\"DataReceivedNotification_");_.b(_.v(_.f("Id",c,p,0)));_.b("\" ");if(_.s(_.f("DataReceivedNotification",c,p,1),c,p,0,2495,2506,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("checked=\"\" ");});c.pop();}_.b(">&nbsp;Data received&nbsp;\r");_.b("\n" + i);_.b("\r");_.b("\n" + i);_.b("        <input type=\"checkbox\" name=\"DataLoadIssueNotification_");_.b(_.v(_.f("Id",c,p,0)));_.b("\" ");if(_.s(_.f("DataLoadIssueNotification",c,p,1),c,p,0,2666,2677,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("checked=\"\" ");});c.pop();}_.b(">&nbsp;Data load issue&nbsp;\r");_.b("\n" + i);_.b("\r");_.b("\n" + i);_.b("        <input type=\"checkbox\" name=\"DataLoadSuccessNotification_");_.b(_.v(_.f("Id",c,p,0)));_.b("\" ");if(_.s(_.f("DataLoadSuccessNotification",c,p,1),c,p,0,2844,2855,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("checked=\"\" ");});c.pop();}_.b(">&nbsp;Data load success&nbsp;\r");_.b("\n" + i);_.b("         \r");_.b("\n" + i);_.b("        </span>\r");_.b("\n" + i);_.b("        <label>\r");_.b("\n" + i);_.b("        <strong>&nbsp;</strong>\r");_.b("\n" + i);_.b("        </label>\r");_.b("\n" + i);_.b("        <a cid=\"");_.b(_.v(_.f("Id",c,p,0)));_.b("\" class=\"btn btn-danger deleteDataProviderContact\" href=\"\">\r");_.b("\n" + i);_.b("        <i class=\"icon-trash icon-white\"></i>\r");_.b("\n" + i);_.b("        <strong>&nbsp;Remove Contact</strong>\r");_.b("\n" + i);_.b("        </a>\r");_.b("\n" + i);_.b("\r");_.b("\n" + i);_.b("     </div>\r");_.b("\n" + i);_.b("   </div>\r");_.b("\n" + i);_.b("\r");_.b("\n" + i);_.b("    </div>\r");_.b("\n" + i);_.b("  </div>\r");_.b("\n" + i);_.b("  <div class=\"clear\"></div>\r");_.b("\n" + i);_.b("  <div class=\"height30\"></div>\r");_.b("\n");});c.pop();}_.b("\r");_.b("\n" + i);_.b("  <div class=\"row\">\r");_.b("\n" + i);_.b("\r");_.b("\n" + i);_.b("    <div class=\"floatLeft\">\r");_.b("\n" + i);_.b("      <div class=\"formField\">\r");_.b("\n" + i);_.b("        <div class=\"formFieldLeft\">\r");_.b("\n" + i);_.b("          <label>\r");_.b("\n" + i);_.b("            <strong>Name *</strong>\r");_.b("\n" + i);_.b("          </label>\r");_.b("\n" + i);_.b("        </div>\r");_.b("\n" + i);_.b("        <div class=\"formFieldRight\">\r");_.b("\n" + i);_.b("          <input type=\"text\" class=\"span2\" id=\"contactName\"/>\r");_.b("\n" + i);_.b("        </div>\r");_.b("\n" + i);_.b("      </div>\r");_.b("\n" + i);_.b("	</div>\r");_.b("\n" + i);_.b("\r");_.b("\n" + i);_.b("	<div class=\"floatLeft\">\r");_.b("\n" + i);_.b("      <div class=\"formField\">\r");_.b("\n" + i);_.b("        <div class=\"formFieldLeft\">\r");_.b("\n" + i);_.b("          <label>\r");_.b("\n" + i);_.b("            <strong>Email *</strong>\r");_.b("\n" + i);_.b("          </label>\r");_.b("\n" + i);_.b("        </div>\r");_.b("\n" + i);_.b("        <div class=\"formFieldRight\">\r");_.b("\n" + i);_.b("          <input type=\"text\" class=\"span3\" id=\"contactEmail\" />\r");_.b("\n" + i);_.b("        </div>\r");_.b("\n" + i);_.b("      </div>\r");_.b("\n" + i);_.b("	</div>\r");_.b("\n" + i);_.b("\r");_.b("\n" + i);_.b("    <div class=\"clear\"></div>\r");_.b("\n" + i);_.b("    <div class=\"height10\"></div>\r");_.b("\n" + i);_.b("\r");_.b("\n" + i);_.b("	<div class=\"floatLeft\">\r");_.b("\n" + i);_.b("      <div class=\"formField\">\r");_.b("\n" + i);_.b("        <div class=\"formFieldLeft\">\r");_.b("\n" + i);_.b("          <label>\r");_.b("\n" + i);_.b("            <strong>Phone Number *</strong>\r");_.b("\n" + i);_.b("          </label>\r");_.b("\n" + i);_.b("        </div>\r");_.b("\n" + i);_.b("        <div class=\"formFieldRight\">\r");_.b("\n" + i);_.b("          <input type=\"text\" class=\"span2\" id=\"contactPhoneNumber\" />\r");_.b("\n" + i);_.b("        </div>\r");_.b("\n" + i);_.b("      </div>\r");_.b("\n" + i);_.b("	</div>\r");_.b("\n" + i);_.b("\r");_.b("\n" + i);_.b("	<div class=\"floatLeft\">\r");_.b("\n" + i);_.b("      <div class=\"formField\">\r");_.b("\n" + i);_.b("        <div class=\"formFieldLeft\">\r");_.b("\n" + i);_.b("          <label>\r");_.b("\n" + i);_.b("            <strong>Position *</strong>\r");_.b("\n" + i);_.b("          </label>\r");_.b("\n" + i);_.b("        </div>\r");_.b("\n" + i);_.b("        <div class=\"formFieldRight\">\r");_.b("\n" + i);_.b("          <input type=\"text\" class=\"span2\" id=\"contactPosition\" />\r");_.b("\n" + i);_.b("        </div>\r");_.b("\n" + i);_.b("      </div>\r");_.b("\n" + i);_.b("	</div>\r");_.b("\n" + i);_.b("\r");_.b("\n" + i);_.b("    <div class=\"clear\"></div>\r");_.b("\n" + i);_.b("    <div class=\"height5\"></div>\r");_.b("\n" + i);_.b("\r");_.b("\n" + i);_.b("    <div class=\"floatLeft\">\r");_.b("\n" + i);_.b("	  <div class=\"formField\">\r");_.b("\n" + i);_.b("        <div class=\"formFieldLeft\">\r");_.b("\n" + i);_.b("          <label>\r");_.b("\n" + i);_.b("            <strong>Notifications:	&nbsp;</strong>\r");_.b("\n" + i);_.b("          </label>\r");_.b("\n" + i);_.b("	  </div>\r");_.b("\n" + i);_.b("    </div>\r");_.b("\n" + i);_.b("\r");_.b("\n" + i);_.b("	<div class=\"clear\"></div>\r");_.b("\n" + i);_.b("    <div class=\"height10\"></div>\r");_.b("\n" + i);_.b("\r");_.b("\n" + i);_.b("    <div class=\"floatLeft\">\r");_.b("\n" + i);_.b("	  <div class=\"formField\" style=\"margin-left:70px;\" name=\"notificationOptions\">\r");_.b("\n" + i);_.b("	  <span>\r");_.b("\n" + i);_.b("\r");_.b("\n" + i);_.b("        <input type=\"checkbox\" id=\"chkProduceData\" name=\"chkProduceData\">&nbsp;Produce data	&nbsp;</input>\r");_.b("\n" + i);_.b("\r");_.b("\n" + i);_.b("        <input type=\"checkbox\" id=\"chkLateDataSubmission\" name=\"chkLateDataSubmission\">	&nbsp;Late data submission	&nbsp;</input>\r");_.b("\n" + i);_.b("\r");_.b("\n" + i);_.b("        <input type=\"checkbox\" id=\"chkDataReceived\" name=\"chkDataReceived\"> &nbsp;Data received &nbsp;</input>\r");_.b("\n" + i);_.b("\r");_.b("\n" + i);_.b("        <input type=\"checkbox\" id=\"chkDataLoadIssue\" name=\"chkDataLoadIssue\"> &nbsp;Data load issue&nbsp;</input>\r");_.b("\n" + i);_.b("\r");_.b("\n" + i);_.b("        <input type=\"checkbox\" id=\"chkDataLoadSuccess\" name=\"chkDataLoadSuccess\"> &nbsp;Data load success&nbsp;</input>\r");_.b("\n" + i);_.b("\r");_.b("\n" + i);_.b("        </span>\r");_.b("\n" + i);_.b("        <a id=\"saveDataProviderContact\" class=\"btn btn-primary span\" style=\"cursor:pointer;\">\r");_.b("\n" + i);_.b("        <i class=\"icon-plus icon-white\"></i>\r");_.b("\n" + i);_.b("        <strong>&nbsp;Add New Contact</strong>\r");_.b("\n" + i);_.b("        </a>\r");_.b("\n" + i);_.b("      </div>\r");_.b("\n" + i);_.b("    </div>\r");_.b("\n" + i);_.b("  </div>\r");_.b("\n" + i);_.b("\r");_.b("\n" + i);_.b("  <div class=\"clear\"></div>\r");_.b("\n" + i);_.b("  <div class=\"height30\"></div>");return _.fl();;};
VedaTPBTemplates['DataProviderFile']=new Hogan.Template();VedaTPBTemplates['DataProviderFile'].r=function(c,p,i){var _=this;_.b(i=i||"");_.b("<div class=\"height20\"></div>\r");_.b("\n" + i);if(_.s(_.f("rows",c,p,1),c,p,0,39,2593,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("<div class=\"row\">\r");_.b("\n" + i);_.b("  <div class=\"formField\">\r");_.b("\n" + i);_.b("    <div class=\"formFieldLeft\">\r");_.b("\n" + i);_.b("      <label>\r");_.b("\n" + i);_.b("        <strong>Source System</strong>\r");_.b("\n" + i);_.b("      </label>\r");_.b("\n" + i);_.b("    </div>\r");_.b("\n" + i);_.b("    <div class=\"formFieldRight\">\r");_.b("\n" + i);_.b("      <input type=\"text\" class=\"mediumInput\" placeholder=\"i.e. SAP or CRM\" id=\"SourceSystem_");_.b(_.v(_.f("Id",c,p,0)));_.b("\" value=\"");_.b(_.v(_.f("SourceSystem",c,p,0)));_.b("\" />\r");_.b("\n" + i);_.b("    </div>\r");_.b("\n" + i);_.b("  </div>\r");_.b("\n" + i);_.b("</div>\r");_.b("\n" + i);_.b("<div class=\"clear\"></div>\r");_.b("\n" + i);_.b("<div class=\"height10\"></div>\r");_.b("\n" + i);_.b("<div class=\"row\">\r");_.b("\n" + i);_.b("  <div class=\"formField\">\r");_.b("\n" + i);_.b("    <div class=\"formFieldLeft\">\r");_.b("\n" + i);_.b("		  <label><strong>Data Supply Type</strong></label>\r");_.b("\n" + i);_.b("    </div>\r");_.b("\n" + i);_.b("    <div class=\"formFieldRight\">\r");_.b("\n" + i);_.b("		  <select class=\"longInput styleDropdownList\" id=\"DataSupplyType_");_.b(_.v(_.f("Id",c,p,0)));_.b("\" disabled=\"disabled\">\r");_.b("\n" + i);_.b("			  <option value=\"ATB\">Aged Trial Balance Only</option>\r");_.b("\n" + i);_.b("        <option value=\"INV\">Invoices Only</option>\r");_.b("\n" + i);_.b("        <option value=\"MAS\">Full Customer List</option>\r");_.b("\n" + i);_.b("        <option value=\"MASATB\">ATB &amp; Full Customer List</option>\r");_.b("\n" + i);_.b("        <option value=\"MASINV\">Invoices &amp; Full Customer List</option>\r");_.b("\n" + i);_.b("		  </select>\r");_.b("\n" + i);_.b("    </div>\r");_.b("\n" + i);_.b("  </div>\r");_.b("\n" + i);_.b("  <div class=\"formField\" style=\"margin-left:576px;\">\r");_.b("\n" + i);_.b("    <div class=\"formFieldLeft\">\r");_.b("\n" + i);_.b("		  <label><strong>Submission Channel</strong></label>\r");_.b("\n" + i);_.b("    </div>\r");_.b("\n" + i);_.b("    <div class=\"formFieldRight\">\r");_.b("\n" + i);_.b("		  <select class=\"smallInput styleDropdownList\" id=\"SubmissionChannel_");_.b(_.v(_.f("Id",c,p,0)));_.b("\">\r");_.b("\n" + i);_.b("	            <option value=\"FTP\">FTP</option>\r");_.b("\n" + i);_.b("			  <option value=\"Web\" selected=\"true\">Web</option>\r");_.b("\n" + i);_.b("		  </select>\r");_.b("\n" + i);_.b("    </div>\r");_.b("\n" + i);_.b("  </div>\r");_.b("\n" + i);_.b("</div>\r");_.b("\n" + i);_.b("<div class=\"clear\"></div>\r");_.b("\n" + i);_.b("<div class=\"height10\"></div>\r");_.b("\n" + i);_.b("<div class=\"row\">\r");_.b("\n" + i);_.b("  <div class=\"formField\">\r");_.b("\n" + i);_.b("		  <div class=\"formFieldLeft\">\r");_.b("\n" + i);_.b("			  <label><strong>File Mask</strong></label>\r");_.b("\n" + i);_.b("      </div>\r");_.b("\n" + i);_.b("      <div class=\"formFieldRight\">\r");_.b("\n" + i);_.b("			  <input type=\"text\" class=\"span2\" placeholder=\"i.e. *.txt\" id=\"FileMask_");_.b(_.v(_.f("Id",c,p,0)));_.b("\" value=\"");_.b(_.v(_.f("FileMask",c,p,0)));_.b("\"/>\r");_.b("\n" + i);_.b("		  </div>\r");_.b("\n" + i);_.b("   </div>\r");_.b("\n" + i);_.b("</div>\r");_.b("\n" + i);_.b("<div class=\"clear\"></div>\r");_.b("\n" + i);_.b("<div class=\"height10\"></div>\r");_.b("\n" + i);_.b("<div class=\"row\">\r");_.b("\n" + i);_.b("		<div class=\"formFieldLeft\" style=\"float:left;margin-left:50px;\">\r");_.b("\n" + i);_.b("			<label><strong>Mapforce File</strong></label>\r");_.b("\n" + i);_.b("    </div>\r");_.b("\n" + i);_.b("    <span class=\"formFieldRight\" style=\"float:left;padding-left:10px;\">\r");_.b("\n" + i);_.b("			<div name=\"UploadContainer_");_.b(_.v(_.f("Id",c,p,0)));_.b("\"></div>\r");_.b("\n" + i);_.b("      <label id=\"MapForceFileAdded_");_.b(_.v(_.f("Id",c,p,0)));_.b("\" style=\"display:none;padding-left:10px;\">file uploaded</label>\r");_.b("\n" + i);_.b("      <label id=\"MapForceFileDelete_");_.b(_.v(_.f("Id",c,p,0)));_.b("\" style=\"display:none;\"><a href=\"#\" class=\"deleteDataProviderFile\" rel_id=\"MapForceFileDelete_");_.b(_.v(_.f("Id",c,p,0)));_.b("\" id=\"MapForceFileDeleteLink_");_.b(_.v(_.f("Id",c,p,0)));_.b("\" fid=\"");_.b(_.v(_.f("Id",c,p,0)));_.b("\">delete file</a></label>\r");_.b("\n" + i);_.b("		</span>\r");_.b("\n" + i);_.b("</div>\r");_.b("\n" + i);_.b("<div class=\"clear\"></div>\r");_.b("\n" + i);_.b("<div class=\"height20\"></div>\r");_.b("\n");});c.pop();}return _.fl();;};
VedaTPBTemplates['DataProviderIndustry']=new Hogan.Template();VedaTPBTemplates['DataProviderIndustry'].r=function(c,p,i){var _=this;_.b(i=i||"");if(_.s(_.f("rows",c,p,1),c,p,0,9,451,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("	<div class=\"row\" id=\"");_.b(_.v(_.f("Id",c,p,0)));_.b("\"><div>\r");_.b("\n" + i);_.b("		 <div class=\"formField\">\r");_.b("\n" + i);_.b("			<div class=\"formFieldRight\">\r");_.b("\n" + i);_.b("			<input class=\"longInput\" type=\"text\" value=\"");_.b(_.v(_.f("IndustryName",c,p,0)));_.b("\" id=\"IndustryName_");_.b(_.v(_.f("Industry",c,p,0)));_.b("\"  disabled=\"disabled\"/>\r");_.b("\n" + i);_.b("			</div>\r");_.b("\n" + i);_.b("			<div class=\"floatLeft\">\r");_.b("\n" + i);_.b("			    <a href=\"#\" value=\"");_.b(_.v(_.f("Industry",c,p,0)));_.b("\" class=\"deleteDataProviderIndustry\">Remove</a>\r");_.b("\n" + i);_.b("			</div>\r");_.b("\n" + i);_.b("		</div>\r");_.b("\n" + i);_.b("	</div>\r");_.b("\n" + i);_.b("	<div class=\"clear\"></div>\r");_.b("\n" + i);_.b("        <div class=\"height20\"></div>\r");_.b("\n");});c.pop();}return _.fl();;};
VedaTPBTemplates['DataProviderLedger']=new Hogan.Template();VedaTPBTemplates['DataProviderLedger'].r=function(c,p,i){var _=this;_.b(i=i||"");if(_.s(_.f("rows",c,p,1),c,p,0,9,411,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("	<div class=\"row\" id=\"");_.b(_.v(_.f("Id",c,p,0)));_.b("\"><div>\r");_.b("\n" + i);_.b("		 <div class=\"formField\">\r");_.b("\n" + i);_.b("            <!--<div class=\"formFieldLeft\">\r");_.b("\n" + i);_.b("			<label><strong>Name</strong></label>\r");_.b("\n" + i);_.b("			</div>-->\r");_.b("\n" + i);_.b("			<div class=\"formFieldRight\">\r");_.b("\n" + i);_.b("			<input type=\"text\" class=\"span2\" value=\"");_.b(_.v(_.f("LedgerName",c,p,0)));_.b("\" id=\"LedgerName_");_.b(_.v(_.f("Id",c,p,0)));_.b("\"  disabled=\"disabled\"/>\r");_.b("\n" + i);_.b("			</div>\r");_.b("\n" + i);_.b("		</div>\r");_.b("\n" + i);_.b("	</div>\r");_.b("\n" + i);_.b("	<div class=\"clear\"></div>\r");_.b("\n" + i);_.b("        <div class=\"height20\"></div>\r");_.b("\n");});c.pop();}return _.fl();;};
VedaTPBTemplates['DataProviderList']=new Hogan.Template();VedaTPBTemplates['DataProviderList'].r=function(c,p,i){var _=this;_.b(i=i||"");_.b("<table class=\"tableAccountsList tableSorting\" id=\"tableAccountsList\">\r");_.b("\n" + i);_.b("  <tr>\r");_.b("\n" + i);_.b("    <th class=\"accountTopLeftHead\">Data Provider</th>\r");_.b("\n" + i);_.b("    <th>Status</th>\r");_.b("\n" + i);_.b("    <th>Submission Type</th>\r");_.b("\n" + i);_.b("    <th class=\"textAlignCenter\">Current Period Status</th>\r");_.b("\n" + i);_.b("    <th class=\"textAlignCenter\">Periods Since Submission</th>\r");_.b("\n" + i);_.b("    <th class=\"textAlignCenter\">Actions</th>\r");_.b("\n" + i);_.b("  </tr>\r");_.b("\n" + i);if(_.s(_.f("Results",c,p,1),c,p,0,379,1138,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("    <tr>\r");_.b("\n" + i);_.b("        <td class=\"accountListInformation\">\r");_.b("\n" + i);_.b("          <a href=\"");_.b(_.v(_.f("ViewUrl",c,p,0)));_.b("\" class=\"dataProviderName\">");_.b(_.v(_.f("DataProviderName",c,p,0)));_.b("</a>\r");_.b("\n" + i);_.b("          <a href=\"");_.b(_.v(_.f("ViewUrl",c,p,0)));_.b("\" class=\"dataProvidersubscriberBranch\">");_.b(_.v(_.f("SubscriberCode",c,p,0)));_.b(" ");_.b(_.v(_.f("BranchCode",c,p,0)));_.b("</a>\r");_.b("\n" + i);_.b("          <div class=\"clear\"></div>\r");_.b("\n" + i);_.b("        </td>\r");_.b("\n" + i);_.b("        <td>");_.b(_.v(_.f("DataProviderStatusDescription",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("        <td>");_.b(_.v(_.f("DataSubmissionTypeDescription",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("        <td class=\"textAlignCenter loadstatus_");_.b(_.v(_.f("CurrentPeriodStatusColor",c,p,0)));_.b("\">");_.b(_.v(_.f("CurrentPeriodStatus",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("        <td class=\"textAlignCenter\">");_.b(_.v(_.f("PeriodsSinceSuccessString",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("        <td>\r");_.b("\n" + i);_.b("          <a href=\"");_.b(_.v(_.f("EditUrl",c,p,0)));_.b("\" class=\"actionLink dpEditLink\">Edit</a>\r");_.b("\n" + i);_.b("          <a href=\"");_.b(_.v(_.f("ViewUrl",c,p,0)));_.b("\" class=\"actionLink\">View</a>\r");_.b("\n" + i);_.b("        </td>\r");_.b("\n" + i);_.b("    </tr>\r");_.b("\n");});c.pop();}if(!_.s(_.f("Results",c,p,1),c,p,1,0,0,"")){_.b("    <tr>\r");_.b("\n" + i);_.b("      <td colspan=\"6\">\r");_.b("\n" + i);_.b("        no data providers returned\r");_.b("\n" + i);_.b("      </td>\r");_.b("\n" + i);_.b("    </tr>\r");_.b("\n");};_.b("</table>");return _.fl();;};
VedaTPBTemplates['DataProviderRoleEdit']=new Hogan.Template();VedaTPBTemplates['DataProviderRoleEdit'].r=function(c,p,i){var _=this;_.b(i=i||"");_.b("<div class=\"span7\">\r");_.b("\n" + i);if(!_.s(_.f("RoleGroups",c,p,1),c,p,1,0,0,"")){_.b("  <h2>Roles</h2>\r");_.b("\n" + i);_.b("  <div class=\"clear\"></div>\r");_.b("\n" + i);_.b("  <h3>\r");_.b("\n" + i);_.b("    Enter a valid Subscriber and Branch code to set up Role access.\r");_.b("\n" + i);_.b("  </h3>\r");_.b("\n");};if(_.s(_.f("RoleGroups",c,p,1),c,p,0,209,2612,"{{ }}")){_.rs(c,p,function(c,p,_){if(_.s(_.f("DisplayRoles",c,p,1),c,p,0,230,1323,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("  <h2>Roles</h2>\r");_.b("\n" + i);_.b("  <div class=\"clear\"></div>\r");_.b("\n" + i);_.b("  <h3>\r");_.b("\n" + i);_.b("    Roles determine what features within Debtor IQ an Equifax customer has access to.\r");_.b("\n" + i);_.b("  </h3>\r");_.b("\n" + i);_.b("  <div class=\"height10\"></div>\r");_.b("\n" + i);_.b("  <table class=\"table table-striped table-bordered\" id=\"");_.b(_.v(_.f("Name",c,p,0)));_.b("\">\r");_.b("\n" + i);_.b("    <thead>\r");_.b("\n" + i);_.b("      <tr>\r");_.b("\n" + i);_.b("        <th>Role</th>\r");_.b("\n" + i);_.b("        <th class=\"span1\">Enabled?</th>\r");_.b("\n" + i);_.b("      </tr>\r");_.b("\n" + i);_.b("    </thead>\r");_.b("\n" + i);_.b("    <tbody>\r");_.b("\n" + i);if(_.s(_.f("Roles",c,p,1),c,p,0,628,1283,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("      <tr>\r");_.b("\n" + i);_.b("        <td>");_.b(_.v(_.f("Name",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("        <td>\r");_.b("\n" + i);if(_.s(_.f("Enabled",c,p,1),c,p,0,705,962,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("          <button class=\"redButton\" style=\"min-width: 50px;margin-left:20px !important\" id=\"roleToggle_");_.b(_.v(_.f("RoleId",c,p,0)));_.b("\">\r");_.b("\n" + i);_.b("            <i class=\"icon-download-alt icon-white\">\r");_.b("\n" + i);_.b("              <strong>On</strong>\r");_.b("\n" + i);_.b("            </i>\r");_.b("\n" + i);_.b("          </button>\r");_.b("\n");});c.pop();}if(!_.s(_.f("Enabled",c,p,1),c,p,1,0,0,"")){_.b("          <button class=\"lightGreyButton\" style=\"max-width: 50px;\" id=\"roleToggle_");_.b(_.v(_.f("RoleId",c,p,0)));_.b("\">\r");_.b("\n" + i);_.b("            <i class=\"icon-download-alt icon-white\">\r");_.b("\n" + i);_.b("              <strong>Off</strong>\r");_.b("\n" + i);_.b("            </i>\r");_.b("\n" + i);_.b("          </button>\r");_.b("\n");};_.b("        </td>\r");_.b("\n" + i);_.b("      </tr>\r");_.b("\n");});c.pop();}_.b("    </tbody>\r");_.b("\n" + i);_.b("  </table>\r");_.b("\n");});c.pop();}if(_.s(_.f("DisplayFeatures",c,p,1),c,p,0,1364,2588,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("  <div class=\"height10\"></div>\r");_.b("\n" + i);_.b("  <h2>Features</h2>\r");_.b("\n" + i);_.b("  <div class=\"clear\"></div>\r");_.b("\n" + i);_.b("  <h3>\r");_.b("\n" + i);_.b("    Features grant ‘Debtor IQ Standard’ users temporary access to some ‘Debtor IQ Premium’ user functionality. Only enable if requested to do so by the On-boarding Manager.\r");_.b("\n" + i);_.b("  </h3>\r");_.b("\n" + i);_.b("  <div class=\"height10\"></div>\r");_.b("\n" + i);_.b("  <table class=\"table table-striped table-bordered\" id=\"");_.b(_.v(_.f("Name",c,p,0)));_.b("\">\r");_.b("\n" + i);_.b("    <thead>\r");_.b("\n" + i);_.b("      <tr>\r");_.b("\n" + i);_.b("        <th>Feature</th>\r");_.b("\n" + i);_.b("        <th class=\"span1\">Enabled?</th>\r");_.b("\n" + i);_.b("      </tr>\r");_.b("\n" + i);_.b("    </thead>\r");_.b("\n" + i);_.b("    <tbody>\r");_.b("\n" + i);if(_.s(_.f("Features",c,p,1),c,p,0,1890,2545,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("      <tr>\r");_.b("\n" + i);_.b("        <td>");_.b(_.v(_.f("Name",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("        <td>\r");_.b("\n" + i);if(_.s(_.f("Enabled",c,p,1),c,p,0,1967,2224,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("          <button class=\"redButton\" style=\"min-width: 50px;margin-left:20px !important\" id=\"roleToggle_");_.b(_.v(_.f("RoleId",c,p,0)));_.b("\">\r");_.b("\n" + i);_.b("            <i class=\"icon-download-alt icon-white\">\r");_.b("\n" + i);_.b("              <strong>On</strong>\r");_.b("\n" + i);_.b("            </i>\r");_.b("\n" + i);_.b("          </button>\r");_.b("\n");});c.pop();}if(!_.s(_.f("Enabled",c,p,1),c,p,1,0,0,"")){_.b("          <button class=\"lightGreyButton\" style=\"max-width: 50px;\" id=\"roleToggle_");_.b(_.v(_.f("RoleId",c,p,0)));_.b("\">\r");_.b("\n" + i);_.b("            <i class=\"icon-download-alt icon-white\">\r");_.b("\n" + i);_.b("              <strong>Off</strong>\r");_.b("\n" + i);_.b("            </i>\r");_.b("\n" + i);_.b("          </button>\r");_.b("\n");};_.b("        </td>\r");_.b("\n" + i);_.b("      </tr>\r");_.b("\n");});c.pop();}_.b("    </tbody>\r");_.b("\n" + i);_.b("  </table>\r");_.b("\n");});c.pop();}});c.pop();}_.b("</div>\r");_.b("\n");return _.fl();;};
VedaTPBTemplates['DebtorReviewList']=new Hogan.Template();VedaTPBTemplates['DebtorReviewList'].r=function(c,p,i){var _=this;_.b(i=i||"");_.b("<table class=\"tableDebtorReviewList\">\r");_.b("\n" + i);_.b("  <col width=\"24%\" />\r");_.b("\n" + i);_.b("  <col width=\"40%\" />\r");_.b("\n" + i);_.b("  <col width=\"10%\" />\r");_.b("\n" + i);_.b("  <col width=\"10%\" />\r");_.b("\n" + i);_.b("  <col width=\"8%\" />\r");_.b("\n" + i);_.b("  <col width=\"7%\" />\r");_.b("\n" + i);_.b("  <tr>\r");_.b("\n" + i);_.b("    <th class=\"accountTopLeftHead\">Organisation</th>\r");_.b("\n" + i);_.b("    <th class=\"textAlignCenter\">Review Details</th>\r");_.b("\n" + i);_.b("    <th class=\"textAlignCenter\">Date Flagged</th>\r");_.b("\n" + i);_.b("    <th class=\"textAlignCenter\">Date Expires</th>\r");_.b("\n" + i);_.b("    <th class=\"textAlignCenter\">Flagged By</th>\r");_.b("\n" + i);_.b("    <th class=\"textAlignCenter\">Edit</th>\r");_.b("\n" + i);_.b("  </tr>\r");_.b("\n" + i);if(!_.s(_.f("DebtorReviews",c,p,1),c,p,1,0,0,"")){if(_.s(_.f("Loading",c,p,1),c,p,0,529,587,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("  <tr>\r");_.b("\n" + i);_.b("    <td colspan=\"6\">Loading...</td>\r");_.b("\n" + i);_.b("  </tr>\r");_.b("\n");});c.pop();}if(!_.s(_.f("Loading",c,p,1),c,p,1,0,0,"")){_.b("  <tr>\r");_.b("\n" + i);_.b("    <td colspan=\"6\">There are no organisations flagged for review by any members of this group that matches the view criteria.</td>\r");_.b("\n" + i);_.b("  </tr>\r");_.b("\n");};};if(_.s(_.f("DebtorReviews",c,p,1),c,p,0,825,4670,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("  <tr>\r");_.b("\n" + i);_.b("    <td class=\"debtorReviewAccountInfo\">\r");_.b("\n" + i);_.b("      <span class=\"accountDetailExpandLink\"></span>\r");_.b("\n" + i);_.b("      <i class=\"accountName\">");_.b(_.v(_.f("OrganisationName",c,p,0)));_.b("</i>\r");_.b("\n" + i);_.b("      <i class=\"accountNameShort\">");_.b(_.v(_.f("OrganisationName",c,p,0)));_.b("</i>\r");_.b("\n" + i);_.b("      <div class=\"clear\"></div>\r");_.b("\n" + i);_.b("      <p class=\"accountName\" style=\"padding-top:2px;\">Trading Name: ");_.b(_.v(_.f("TradingName",c,p,0)));_.b("</p>\r");_.b("\n" + i);_.b("      <p class=\"accountAddress\" style=\"padding-top:2px;\">Address: ");_.b(_.v(_.f("Address",c,p,0)));_.b("</p>\r");_.b("\n" + i);_.b("      <p class=\"accountABN\">ABN: ");_.b(_.v(_.f("Abn",c,p,0)));_.b("</p>\r");_.b("\n" + i);_.b("      <p class=\"accountACN\">ACN: ");_.b(_.v(_.f("Acn",c,p,0)));_.b("</p>\r");_.b("\n" + i);_.b("    </td>\r");_.b("\n" + i);_.b("    <td class=\"debtorReviewDetails\">\r");_.b("\n" + i);_.b("      <div class=\"floatLeft\" style=\"display:block\">\r");_.b("\n" + i);_.b("        <span class=\"debtorReviewDetailsCol_1\">\r");_.b("\n" + i);_.b("          <label>Opened:</label>\r");_.b("\n" + i);_.b("        </span>\r");_.b("\n" + i);_.b("        <span class=\"debtorReviewDetailsCol_23\">");_.b(_.v(_.f("AccountOpenedString",c,p,0)));_.b("&nbsp;</span>\r");_.b("\n" + i);_.b("        <span class=\"debtorReviewDetailsCol_4\">\r");_.b("\n" + i);_.b("          <label>Credit Limit:</label>\r");_.b("\n" + i);_.b("        </span>\r");_.b("\n" + i);_.b("        <span class=\"debtorReviewDetailsCol_5\">");_.b(_.v(_.f("CreditLimitString",c,p,0)));_.b("</span>\r");_.b("\n" + i);_.b("      </div>\r");_.b("\n" + i);_.b("      <div class=\"clear\"></div>\r");_.b("\n" + i);_.b("      <div class=\"height5\"></div>\r");_.b("\n" + i);_.b("      <div class=\"floatLeft\">\r");_.b("\n" + i);_.b("        <span class=\"debtorReviewDetailsCol_1\">\r");_.b("\n" + i);_.b("          <label>Director's Guarantee:</label>\r");_.b("\n" + i);_.b("        </span>\r");_.b("\n" + i);_.b("        <span class=\"debtorReviewDetailsCol_23\">");if(_.s(_.f("DirectorsGuarantee",c,p,1),c,p,0,2111,2114,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("Yes");});c.pop();}if(!_.s(_.f("DirectorsGuarantee",c,p,1),c,p,1,0,0,"")){_.b("No");};_.b("</span>\r");_.b("\n" + i);_.b("        <span class=\"debtorReviewDetailsCol_4\">\r");_.b("\n" + i);_.b("          <label>Insurance:</label>\r");_.b("\n" + i);_.b("        </span>\r");_.b("\n" + i);_.b("        <span class=\"debtorReviewDetailsCol_5\">");if(_.s(_.f("DebtorInsurance",c,p,1),c,p,0,2364,2367,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("Yes");});c.pop();}if(!_.s(_.f("DebtorInsurance",c,p,1),c,p,1,0,0,"")){_.b("No");};_.b("</span>\r");_.b("\n" + i);_.b("      </div>\r");_.b("\n" + i);_.b("      <div class=\"clear\"></div>\r");_.b("\n" + i);_.b("      <div class=\"height5\"></div>\r");_.b("\n" + i);_.b("      <div class=\"floatLeft\">\r");_.b("\n" + i);_.b("        <span class=\"debtorReviewDetailsCol_1\">\r");_.b("\n" + i);_.b("          <label>Comments:</label>\r");_.b("\n" + i);_.b("        </span>\r");_.b("\n" + i);_.b("        <span class=\"debtorReviewDetailsCol_234\">\r");_.b("\n" + i);_.b("          <ul>\r");_.b("\n" + i);if(_.s(_.f("Comments",c,p,1),c,p,0,2743,2783,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("          <li>");_.b(_.v(_.d(".",c,p,0)));_.b("</li>\r");_.b("\n");});c.pop();}if(!_.s(_.f("Comments",c,p,1),c,p,1,0,0,"")){_.b("            <li>-</li>\r");_.b("\n");};_.b("          </ul>\r");_.b("\n" + i);_.b("          \r");_.b("\n" + i);_.b("      </span>\r");_.b("\n" + i);_.b("      </div>\r");_.b("\n" + i);if(_.s(_.f("HasLatePaymentDays",c,p,1),c,p,0,2963,3203,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("      <div class=\"clear\"></div>\r");_.b("\n" + i);_.b("      <div class=\"height5\"></div>\r");_.b("\n" + i);_.b("      <div class=\"floatLeft\">\r");_.b("\n" + i);_.b("        <span>On average this organisation is paying <i class=\"ugReviewLPD\">");_.b(_.v(_.f("LatePaymentDays",c,p,0)));_.b("</i> days late.</span>\r");_.b("\n" + i);_.b("      </div>\r");_.b("\n");});c.pop();}_.b("      <div class=\"clear\"></div>\r");_.b("\n" + i);_.b("      <div class=\"height5\"></div>\r");_.b("\n" + i);_.b("      <div class=\"floatLeft\">\r");_.b("\n" + i);_.b("        <span class=\"debtorReviewDetailsCol_12\">\r");_.b("\n" + i);_.b("          <label>\r");_.b("\n" + i);_.b("            Within Terms\r");_.b("\n" + i);_.b("          </label>\r");_.b("\n" + i);_.b("          <br />\r");_.b("\n" + i);_.b("          <center>");_.b(_.v(_.f("OwingCurrentLabel",c,p,0)));_.b("</center>\r");_.b("\n" + i);_.b("\r");_.b("\n" + i);_.b("        </span>\r");_.b("\n" + i);_.b("        <span class=\"debtorReviewDetailsCol_2\">\r");_.b("\n" + i);_.b("          <label>1 to 30 Days</label>\r");_.b("\n" + i);_.b("          <br />\r");_.b("\n" + i);_.b("          <center>");_.b(_.v(_.f("Owing1to30Label",c,p,0)));_.b("</center>\r");_.b("\n" + i);_.b("        </span>\r");_.b("\n" + i);_.b("        <span class=\"debtorReviewDetailsCol_3\">\r");_.b("\n" + i);_.b("          <label>31 to 60 Days</label>\r");_.b("\n" + i);_.b("          <br />\r");_.b("\n" + i);_.b("          <center>");_.b(_.v(_.f("Owing31to60Label",c,p,0)));_.b("</center>\r");_.b("\n" + i);_.b("        </span>\r");_.b("\n" + i);_.b("        <span class=\"debtorReviewDetailsCol_4\">\r");_.b("\n" + i);_.b("          <label>61 to 90 Days</label><br />\r");_.b("\n" + i);_.b("          <center>");_.b(_.v(_.f("Owing61to90Label",c,p,0)));_.b("</center>\r");_.b("\n" + i);_.b("        </span>\r");_.b("\n" + i);_.b("        <span class=\"debtorReviewDetailsCol_5\">\r");_.b("\n" + i);_.b("          <label>90+ Days</label><br />\r");_.b("\n" + i);_.b("          <center>");_.b(_.v(_.f("Owing91PlusLabel",c,p,0)));_.b("</center>\r");_.b("\n" + i);_.b("        </span>\r");_.b("\n" + i);_.b("      </div>\r");_.b("\n" + i);_.b("    </td>\r");_.b("\n" + i);_.b("    <td class=\"textAlignCenter\">");_.b(_.v(_.f("CreateDateString",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("    <td class=\"textAlignCenter\">");_.b(_.v(_.f("ExpiryDateString",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("    <td class=\"textAlignCenter\">\r");_.b("\n" + i);_.b("      <div title=\"");_.b(_.v(_.f("UserDetailsLabel",c,p,0)));_.b("\" class=\"flagged\">");_.b(_.v(_.f("FlaggedBy",c,p,0)));_.b("</div>\r");_.b("\n" + i);_.b("    </td>\r");_.b("\n" + i);_.b("    <td class=\"editDebtorReview\">\r");_.b("\n" + i);_.b("      <a href=\"#");_.b(_.v(_.f("UserId",c,p,0)));_.b("_");_.b(_.v(_.f("DebtorReviewId",c,p,0)));_.b("_");_.b(_.v(_.f("UserGroupId",c,p,0)));_.b("\" class=\"debtorReviewListEditLink\">\r");_.b("\n" + i);_.b("        <img src=\"\" alt=\"Edit\" title=\"Edit\" />\r");_.b("\n" + i);_.b("      </a>\r");_.b("\n" + i);_.b("    </td>\r");_.b("\n" + i);_.b("  </tr>\r");_.b("\n");});c.pop();}_.b("</table>\r");_.b("\n");return _.fl();;};
VedaTPBTemplates['DebtorSearchResult']=new Hogan.Template();VedaTPBTemplates['DebtorSearchResult'].r=function(c,p,i){var _=this;_.b(i=i||"");_.b("<table class=\"tableAccountsList tableSorting\" id=\"debtorSearchResult\">\r");_.b("\n" + i);_.b("  <thead>\r");_.b("\n" + i);_.b("    <tr>\r");_.b("\n" + i);_.b("      <th>File Number</th>\r");_.b("\n" + i);_.b("      <th>\r");_.b("\n" + i);_.b("        Name\r");_.b("\n" + i);_.b("      </th>\r");_.b("\n" + i);_.b("      <th>\r");_.b("\n" + i);_.b("        Address\r");_.b("\n" + i);_.b("      </th>\r");_.b("\n" + i);_.b("      <th>\r");_.b("\n" + i);_.b("        ACN\r");_.b("\n" + i);_.b("      </th>\r");_.b("\n" + i);_.b("      <th>\r");_.b("\n" + i);_.b("        ABN\r");_.b("\n" + i);_.b("      </th>\r");_.b("\n" + i);_.b("      <th></th>\r");_.b("\n" + i);_.b("    </tr>\r");_.b("\n" + i);_.b("  </thead>\r");_.b("\n" + i);_.b("  <tbody>\r");_.b("\n" + i);if(_.s(_.f("Results",c,p,1),c,p,0,345,928,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("    <tr>\r");_.b("\n" + i);_.b("      <td class=\"dsFileNumber\" data-scvid=\"");_.b(_.v(_.f("ScvId",c,p,0)));_.b("\">\r");_.b("\n" + i);_.b("        ");_.b(_.v(_.f("FileNumber",c,p,0)));_.b("\r");_.b("\n" + i);_.b("      </td>\r");_.b("\n" + i);_.b("      <td>\r");_.b("\n" + i);_.b("        <p class=\"displayBlock dsTradingName\">\r");_.b("\n" + i);_.b("          <b>Trading Name:</b>&nbsp;");_.b(_.v(_.f("TradingName",c,p,0)));_.b("\r");_.b("\n" + i);_.b("        </p>\r");_.b("\n" + i);_.b("        <p class=\"displayBlock dsEntityName\">\r");_.b("\n" + i);_.b("          <b>Entity Name:</b>&nbsp;");_.b(_.v(_.f("EntityName",c,p,0)));_.b("\r");_.b("\n" + i);_.b("        </p>\r");_.b("\n" + i);_.b("      </td>\r");_.b("\n" + i);_.b("      <td class=\"dsAddress\">");_.b(_.v(_.f("Address",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("      <td class=\"dsAcn\">");_.b(_.v(_.f("Acn",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("      <td class=\"dsAbn\">");_.b(_.v(_.f("Abn",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("      <td>\r");_.b("\n" + i);_.b("        <a href=\"");_.b(_.v(_.f("FlagLink",c,p,0)));_.b("\" class=\"flagDebtorLink\">Flag</a>\r");_.b("\n" + i);_.b("      </td>\r");_.b("\n" + i);_.b("    </tr>\r");_.b("\n");});c.pop();}if(!_.s(_.f("Results",c,p,1),c,p,1,0,0,"")){_.b("    <tr>\r");_.b("\n" + i);_.b("      <td colspan=\"8\">\r");_.b("\n" + i);_.b("        No Results Returned\r");_.b("\n" + i);_.b("      </td>\r");_.b("\n" + i);_.b("    </tr>\r");_.b("\n");};_.b("  </tbody>\r");_.b("\n" + i);_.b("</table>");return _.fl();;};
VedaTPBTemplates['FileDownLoadDialog']=new Hogan.Template();VedaTPBTemplates['FileDownLoadDialog'].r=function(c,p,i){var _=this;_.b(i=i||"");_.b("<div class=\"requestInfoDialog\" id=\"fileDownloadInProgress\" style=\"display:none\">");_.b(_.v(_.f("DownloadingMessage",c,p,0)));_.b("</div>\r");_.b("\n" + i);_.b("<div class=\"requestInfoDialog\" id=\"fileDownloadError\" style=\"display:none\">\r");_.b("\n" + i);_.b("    ");_.b(_.v(_.f("ErrorMessage",c,p,0)));_.b("\r");_.b("\n" + i);_.b("	<div class=\"clear\"></div>\r");_.b("\n" + i);_.b("	<div class=\"height20\"></div>\r");_.b("\n" + i);_.b("	<a class=\"lightGreyButtonSmall \" href=\"#\" onclick=\"$.unblockUI();return false;\">Ok</a>\r");_.b("\n" + i);_.b("</div>");return _.fl();;};
VedaTPBTemplates['FileSubmissionHistory']=new Hogan.Template();VedaTPBTemplates['FileSubmissionHistory'].r=function(c,p,i){var _=this;_.b(i=i||"");_.b("<table class=\"stripe\" id=\"tableFileSubmissions\">\r");_.b("\n" + i);_.b("    <thead>\r");_.b("\n" + i);_.b("        <tr>\r");_.b("\n" + i);_.b("            <th>\r");_.b("\n" + i);_.b("                Submission ID\r");_.b("\n" + i);_.b("            </th>\r");_.b("\n" + i);_.b("            <th>\r");_.b("\n" + i);_.b("                Business Unit\r");_.b("\n" + i);_.b("            </th>\r");_.b("\n" + i);_.b("            <th style=\"min-width: 250px;\">\r");_.b("\n" + i);_.b("                File Name\r");_.b("\n" + i);_.b("            </th>\r");_.b("\n" + i);_.b("            <th>\r");_.b("\n" + i);_.b("                Submission Status\r");_.b("\n" + i);_.b("            </th>\r");_.b("\n" + i);_.b("            <th>\r");_.b("\n" + i);_.b("                File Type\r");_.b("\n" + i);_.b("            </th>\r");_.b("\n" + i);_.b("            <th>\r");_.b("\n" + i);_.b("                Submitted\r");_.b("\n" + i);_.b("            </th>\r");_.b("\n" + i);_.b("            <th>\r");_.b("\n" + i);_.b("                Submitted Date\r");_.b("\n" + i);_.b("            </th>\r");_.b("\n" + i);_.b("        </tr>\r");_.b("\n" + i);_.b("    </thead>\r");_.b("\n" + i);_.b("    <tbody style=\"height: 70px\">\r");_.b("\n" + i);if(_.s(_.f("Results",c,p,1),c,p,0,655,1338,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("    <tr>\r");_.b("\n" + i);_.b("        <td>\r");_.b("\n" + i);_.b("            <a class=\"detailsLink\" href=\"#");_.b(_.v(_.f("DataLoadSecureId",c,p,0)));_.b("\">");_.b(_.v(_.f("DataLoadID",c,p,0)));_.b("</a>\r");_.b("\n" + i);_.b("        </td>\r");_.b("\n" + i);_.b("        <td>\r");_.b("\n" + i);_.b("            ");_.b(_.v(_.f("Customer",c,p,0)));_.b("\r");_.b("\n" + i);_.b("        </td>\r");_.b("\n" + i);_.b("        <td class=\"break-word\" style=\"word-break: break-word;\">\r");_.b("\n" + i);_.b("            <span title=\"");_.b(_.v(_.f("FileName",c,p,0)));_.b("\">");_.b(_.v(_.f("FileNameShort",c,p,0)));_.b("</span>\r");_.b("\n" + i);_.b("        </td>\r");_.b("\n" + i);_.b("        <td>\r");_.b("\n" + i);_.b("            <span class=\"gatewaystatus_");_.b(_.v(_.f("DataLoadStatusColor",c,p,0)));_.b("_fileSubmissionHistory\">");_.b(_.v(_.f("DataLoadStatus",c,p,0)));_.b("</span>\r");_.b("\n" + i);_.b("        </td>\r");_.b("\n" + i);_.b("        <td>\r");_.b("\n" + i);_.b("            ");_.b(_.v(_.f("SubmissionType",c,p,0)));_.b("\r");_.b("\n" + i);_.b("        </td>\r");_.b("\n" + i);_.b("        <td nowrap=\"\">\r");_.b("\n" + i);_.b("            ");_.b(_.v(_.f("DateSubmittedString",c,p,0)));_.b("\r");_.b("\n" + i);_.b("        </td>\r");_.b("\n" + i);_.b("        <td>\r");_.b("\n" + i);_.b("            ");_.b(_.v(_.f("DateSubmitted",c,p,0)));_.b("\r");_.b("\n" + i);_.b("        </td>\r");_.b("\n" + i);_.b("    </tr>\r");_.b("\n");});c.pop();}if(!_.s(_.f("Results",c,p,1),c,p,1,0,0,"")){if(_.s(_.f("Loading",c,p,1),c,p,0,1386,1470,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("    <tr>\r");_.b("\n" + i);_.b("        <td colspan=\"7\">Loading ....\r");_.b("\n" + i);_.b("        </td>\r");_.b("\n" + i);_.b("    </tr>\r");_.b("\n");});c.pop();}if(!_.s(_.f("Loading",c,p,1),c,p,1,0,0,"")){_.b("    <tr>\r");_.b("\n" + i);_.b("        <td colspan=\"7\">no data submissions returned\r");_.b("\n" + i);_.b("        </td>\r");_.b("\n" + i);_.b("    </tr>\r");_.b("\n");};};_.b("    </tbody>\r");_.b("\n" + i);_.b("</table>\r");_.b("\n");return _.fl();;};
VedaTPBTemplates['FileSubmissionHistorySysAdmin']=new Hogan.Template();VedaTPBTemplates['FileSubmissionHistorySysAdmin'].r=function(c,p,i){var _=this;_.b(i=i||"");_.b("<table class=\"stripe\" id=\"tableFileSubmissions\" style=\"width:100%\">\r");_.b("\n" + i);_.b("    <thead>\r");_.b("\n" + i);_.b("        <tr>\r");_.b("\n" + i);_.b("            <th>\r");_.b("\n" + i);_.b("                Submission ID\r");_.b("\n" + i);_.b("            </th>\r");_.b("\n" + i);_.b("            <th>\r");_.b("\n" + i);_.b("                Subscriber Code\r");_.b("\n" + i);_.b("            </th>\r");_.b("\n" + i);_.b("            <th>\r");_.b("\n" + i);_.b("                Branch Code\r");_.b("\n" + i);_.b("            </th>\r");_.b("\n" + i);_.b("            <th>\r");_.b("\n" + i);_.b("                Business Unit\r");_.b("\n" + i);_.b("            </th>\r");_.b("\n" + i);_.b("            <th>\r");_.b("\n" + i);_.b("                Data Provider Status\r");_.b("\n" + i);_.b("            </th>\r");_.b("\n" + i);_.b("            <th style=\"min-width: 220px;\">\r");_.b("\n" + i);_.b("                File Name\r");_.b("\n" + i);_.b("            </th>\r");_.b("\n" + i);_.b("            <th>\r");_.b("\n" + i);_.b("                Submission Status\r");_.b("\n" + i);_.b("            </th>\r");_.b("\n" + i);_.b("            <th>\r");_.b("\n" + i);_.b("                File Type\r");_.b("\n" + i);_.b("            </th>\r");_.b("\n" + i);_.b("            <th>\r");_.b("\n" + i);_.b("                Submitted\r");_.b("\n" + i);_.b("            </th>\r");_.b("\n" + i);_.b("            <th>\r");_.b("\n" + i);_.b("                Submitted Date\r");_.b("\n" + i);_.b("            </th>\r");_.b("\n" + i);_.b("            <th>\r");_.b("\n" + i);_.b("                Actions\r");_.b("\n" + i);_.b("            </th>\r");_.b("\n" + i);_.b("        </tr>\r");_.b("\n" + i);_.b("    </thead>\r");_.b("\n" + i);_.b("    <tbody>\r");_.b("\n" + i);if(_.s(_.f("Results",c,p,1),c,p,0,926,2252,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("        <tr style=\"height:70px\">\r");_.b("\n" + i);_.b("            <td>\r");_.b("\n" + i);_.b("                <a href=\"#");_.b(_.v(_.f("DataLoadSecureId",c,p,0)));_.b("\" class=\"detailsLink\">");_.b(_.v(_.f("DataLoadID",c,p,0)));_.b("</a>\r");_.b("\n" + i);_.b("            </td>\r");_.b("\n" + i);_.b("            <td>\r");_.b("\n" + i);_.b("                ");_.b(_.v(_.f("SubscriberCode",c,p,0)));_.b("\r");_.b("\n" + i);_.b("            </td>\r");_.b("\n" + i);_.b("            <td>\r");_.b("\n" + i);_.b("                ");_.b(_.v(_.f("BranchCode",c,p,0)));_.b("\r");_.b("\n" + i);_.b("            </td>\r");_.b("\n" + i);_.b("            <td>\r");_.b("\n" + i);_.b("                ");_.b(_.v(_.f("Customer",c,p,0)));_.b("\r");_.b("\n" + i);_.b("            </td>\r");_.b("\n" + i);_.b("            <td>\r");_.b("\n" + i);_.b("                <span class=\"providerstatus_");_.b(_.v(_.f("DataProviderStatusColor",c,p,0)));_.b("\">");_.b(_.v(_.f("DataProviderStatusDescription",c,p,0)));_.b("</span>\r");_.b("\n" + i);_.b("            </td>\r");_.b("\n" + i);_.b("            <td class=\"break-word\" style=\"word-break: break-word;\">\r");_.b("\n" + i);_.b("                <span title=\"");_.b(_.v(_.f("FileName",c,p,0)));_.b("\">");_.b(_.v(_.f("FileNameShort",c,p,0)));_.b("</span>\r");_.b("\n" + i);_.b("            </td>\r");_.b("\n" + i);_.b("            <td>\r");_.b("\n" + i);_.b("                <span class=\"gatewaystatus_");_.b(_.v(_.f("DataLoadStatusColor",c,p,0)));_.b("_fileSubmissionHistory\">");_.b(_.v(_.f("DataLoadStatus",c,p,0)));_.b("</span>\r");_.b("\n" + i);_.b("            </td>\r");_.b("\n" + i);_.b("            <td>\r");_.b("\n" + i);_.b("                ");_.b(_.v(_.f("SubmissionType",c,p,0)));_.b("\r");_.b("\n" + i);_.b("            </td>\r");_.b("\n" + i);_.b("            <td nowrap=\"\">\r");_.b("\n" + i);_.b("                ");_.b(_.v(_.f("DateSubmittedString",c,p,0)));_.b("\r");_.b("\n" + i);_.b("            </td>\r");_.b("\n" + i);_.b("            <td nowrap=\"\">\r");_.b("\n" + i);_.b("                ");_.b(_.v(_.f("DateSubmitted",c,p,0)));_.b("\r");_.b("\n" + i);_.b("            </td>\r");_.b("\n" + i);_.b("            <td nowrap=\"\">\r");_.b("\n" + i);if(_.s(_.f("CanDelete",c,p,1),c,p,0,2060,2194,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("                <a class=\"deleteLink\" href=\"#");_.b(_.v(_.f("DataLoadSecureId",c,p,0)));_.b("\"><span class=\"glyphicon glyphicon-trash\" /> </a>\r");_.b("\n");});c.pop();}_.b("            </td>\r");_.b("\n" + i);_.b("        </tr>\r");_.b("\n");});c.pop();}if(!_.s(_.f("Results",c,p,1),c,p,1,0,0,"")){if(_.s(_.f("Loading",c,p,1),c,p,0,2308,2427,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("        <tr>\r");_.b("\n" + i);_.b("            <td colspan=\"10\">\r");_.b("\n" + i);_.b("                Loading ....\r");_.b("\n" + i);_.b("            </td>\r");_.b("\n" + i);_.b("        </tr>\r");_.b("\n");});c.pop();}if(!_.s(_.f("Loading",c,p,1),c,p,1,0,0,"")){_.b("        <tr>\r");_.b("\n" + i);_.b("            <td colspan=\"10\">\r");_.b("\n" + i);_.b("                no data submissions returned\r");_.b("\n" + i);_.b("            </td>\r");_.b("\n" + i);_.b("        </tr>\r");_.b("\n");};};_.b("    </tbody>\r");_.b("\n" + i);_.b("</table>");return _.fl();;};
VedaTPBTemplates['JoinUserGroup']=new Hogan.Template();VedaTPBTemplates['JoinUserGroup'].r=function(c,p,i){var _=this;_.b(i=i||"");if(_.s(_.f("ManagementMode",c,p,1),c,p,0,19,1075,"{{ }}")){_.rs(c,p,function(c,p,_){if(_.s(_.f("UserGroups",c,p,1),c,p,0,36,868,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("<div class=\"joinUserGroupItem\">\r");_.b("\n" + i);_.b("  <img src=\"./Content/css/images/imgIndustryGroupLogoSampleSmall.png\" alt=\"Equifax\" title=\"Equifax\" />\r");_.b("\n" + i);_.b("  <div class=\"joinUserGroupItemMiddle\">\r");_.b("\n" + i);_.b("    <h3>\r");_.b("\n" + i);_.b("      ");_.b(_.v(_.f("UserGroupName",c,p,0)));_.b(" ");_.b(_.v(_.f("StatusString",c,p,0)));_.b("\r");_.b("\n" + i);_.b("    </h3>\r");_.b("\n" + i);_.b("	<div class=\"clear\"></div>\r");_.b("\n" + i);_.b("    <p class=\"italicFont\">\r");_.b("\n" + i);_.b("      ");_.b(_.v(_.f("MembershipCount",c,p,0)));_.b(" Member(s)\r");_.b("\n" + i);_.b("    </p>\r");_.b("\n" + i);_.b("    <p>\r");_.b("\n" + i);_.b("      Industry: <span class=\"boldFont\">");_.b(_.v(_.f("Industry",c,p,0)));_.b("</span>\r");_.b("\n" + i);_.b("    </p>\r");_.b("\n" + i);_.b("    <p class=\"userGroupDescription\">\r");_.b("\n" + i);_.b("      ");_.b(_.v(_.f("UserGroupDescription",c,p,0)));_.b("\r");_.b("\n" + i);_.b("    </p>\r");_.b("\n" + i);_.b("  </div>\r");_.b("\n" + i);_.b("  <div class=\"joinUserGroupItemRight\">\r");_.b("\n" + i);_.b("   <a href=\"#\" class=\"lightGreyButton manageUserGroupAction\" id=\"manageUserGroupAction_");_.b(_.v(_.f("UserGroupId",c,p,0)));_.b("\" data-value=\"manageUserGroupAction_");_.b(_.v(_.f("SecureId",c,p,0)));_.b("\" \r");_.b("\n" + i);_.b("        groupName=\"");_.b(_.v(_.f("UserGroupName",c,p,0)));_.b("\" style=\"width:135px\">Manage Group</a>\r");_.b("\n" + i);_.b("  </div>\r");_.b("\n" + i);_.b("</div>\r");_.b("\n" + i);_.b("<div class=\"clear\">\r");_.b("\n" + i);_.b("</div>\r");_.b("\n");});c.pop();}if(!_.s(_.f("UserGroups",c,p,1),c,p,1,0,0,"")){_.b("<div class=\"joinUserGroupItem\">\r");_.b("\n" + i);_.b("  <h3>\r");_.b("\n" + i);_.b("    No results found for your query.\r");_.b("\n" + i);_.b("  </h3>\r");_.b("\n" + i);_.b("  <br/>\r");_.b("\n" + i);_.b("  <p>Check your spelling or try another term.</p>\r");_.b("\n" + i);_.b("</div>\r");_.b("\n");};});c.pop();}if(!_.s(_.f("ManagementMode",c,p,1),c,p,1,0,0,"")){if(_.s(_.f("UserGroups",c,p,1),c,p,0,1132,1930,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("<div class=\"joinUserGroupItem\">\r");_.b("\n" + i);_.b("  <img src=\"./Content/css/images/imgIndustryGroupLogoSampleSmall.png\" alt=\"Equifax\" title=\"Equifax\" />\r");_.b("\n" + i);_.b("  <div class=\"joinUserGroupItemMiddle\">\r");_.b("\n" + i);_.b("    <h3>\r");_.b("\n" + i);_.b("      ");_.b(_.v(_.f("UserGroupName",c,p,0)));_.b("\r");_.b("\n" + i);_.b("    </h3>\r");_.b("\n" + i);_.b("	<div class=\"clear\"></div>\r");_.b("\n" + i);_.b("    <p class=\"italicFont\">\r");_.b("\n" + i);_.b("      ");_.b(_.v(_.f("MembershipCount",c,p,0)));_.b(" Member(s)\r");_.b("\n" + i);_.b("    </p>\r");_.b("\n" + i);_.b("    <p>\r");_.b("\n" + i);_.b("      Industry: <span class=\"boldFont\">");_.b(_.v(_.f("Industry",c,p,0)));_.b("</span>\r");_.b("\n" + i);_.b("    </p>\r");_.b("\n" + i);_.b("    <p class=\"userGroupDescription\">\r");_.b("\n" + i);_.b("      ");_.b(_.v(_.f("UserGroupDescription",c,p,0)));_.b("\r");_.b("\n" + i);_.b("    </p>\r");_.b("\n" + i);_.b("  </div>\r");_.b("\n" + i);_.b("  <div class=\"joinUserGroupItemRight\">\r");_.b("\n" + i);_.b("    <a href=\"#\" class=\"lightGreyButton joinUserGroupAction\" id=\"joinUserGroupAction_");_.b(_.v(_.f("UserGroupId",c,p,0)));_.b("\" data-value=\"joinUserGroupAction_");_.b(_.v(_.f("SecureId",c,p,0)));_.b("\" \r");_.b("\n" + i);_.b("        groupName=\"");_.b(_.v(_.f("UserGroupName",c,p,0)));_.b("\">");_.b(_.v(_.f("UserActionLabel",c,p,0)));_.b("</a>\r");_.b("\n" + i);_.b("   </div>\r");_.b("\n" + i);_.b("</div>\r");_.b("\n" + i);_.b("<div class=\"clear\">\r");_.b("\n" + i);_.b("</div>\r");_.b("\n");});c.pop();}if(!_.s(_.f("UserGroups",c,p,1),c,p,1,0,0,"")){_.b("<div class=\"joinUserGroupItem\">\r");_.b("\n" + i);_.b("  <h3>\r");_.b("\n" + i);_.b("    No results found for your query.\r");_.b("\n" + i);_.b("  </h3>\r");_.b("\n" + i);_.b("  <br/>\r");_.b("\n" + i);_.b("  <p>Check your spelling or try another term.</p>\r");_.b("\n" + i);_.b("</div>\r");_.b("\n");};};return _.fl();;};
VedaTPBTemplates['MarketPaymentHistory']=new Hogan.Template();VedaTPBTemplates['MarketPaymentHistory'].r=function(c,p,i){var _=this;_.b(i=i||"");_.b("<table id=\"tableMarketPaymentHistory\">\r");_.b("\n" + i);_.b("  <tr>\r");_.b("\n" + i);_.b("    <th>Period</th>\r");_.b("\n" + i);_.b("    <th>Contributor Id</th>\r");_.b("\n" + i);_.b("    <th class=\"lightGreenFont\">Within Terms</th>\r");_.b("\n" + i);_.b("    <th class=\"greenFont\">1-30 Days</th>\r");_.b("\n" + i);_.b("    <th class=\"yellowFont\">31-60 Days</th>\r");_.b("\n" + i);_.b("    <th class=\"orangeFont\">61-90 Days</th>\r");_.b("\n" + i);_.b("    <th class=\"darkRedFont\">90+ Days</th>\r");_.b("\n" + i);_.b("    <th class=\"textAlignCenter\">Total Past Due</th>\r");_.b("\n" + i);_.b("    <th class=\"textAlignCenter\">Total Owing</th>\r");_.b("\n" + i);_.b("  </tr>\r");_.b("\n" + i);if(!_.s(_.f("Results",c,p,1),c,p,1,0,0,"")){if(_.s(_.f("Loading",c,p,1),c,p,0,463,522,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("  <tr>\r");_.b("\n" + i);_.b("    <td colspan=\"10\">Loading...</td>\r");_.b("\n" + i);_.b("  </tr>\r");_.b("\n");});c.pop();}if(!_.s(_.f("Loading",c,p,1),c,p,1,0,0,"")){_.b("  <tr>\r");_.b("\n" + i);_.b("    <td colspan=\"10\">No Data Available</td>\r");_.b("\n" + i);_.b("  </tr>\r");_.b("\n");};};if(_.s(_.f("Results",c,p,1),c,p,0,660,1320,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("  <tr>\r");_.b("\n" + i);_.b("    <td>");_.b(_.v(_.f("Period",c,p,0)));_.b("</td> \r");_.b("\n" + i);_.b("    <td nowrap=\"\" class=\"textAlignCenter\">");_.b(_.v(_.f("ContributorId",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("    <td nowrap=\"\"><span class=\"floatRight\">");_.b(_.v(_.f("WithInTerms",c,p,0)));_.b("</span></td>\r");_.b("\n" + i);_.b("    <td nowrap=\"\"><span class=\"floatRight\">");_.b(_.v(_.f("OverdueAmount1To30",c,p,0)));_.b("</span></td>\r");_.b("\n" + i);_.b("    <td nowrap=\"\"><span class=\"floatRight\">");_.b(_.v(_.f("OverdueAmount31To60",c,p,0)));_.b("</span></td>\r");_.b("\n" + i);_.b("    <td nowrap=\"\"><span class=\"floatRight\">");_.b(_.v(_.f("OverdueAmount61To90",c,p,0)));_.b("</span></td>\r");_.b("\n" + i);_.b("    <td nowrap=\"\"><span class=\"floatRight\">");_.b(_.v(_.f("OverdueAmount91Plus",c,p,0)));_.b("</span></td>\r");_.b("\n" + i);_.b("    <td class=\"boldFont\"><span class=\"floatRight\">");_.b(_.v(_.f("TotaLAmount",c,p,0)));_.b("</span></td>\r");_.b("\n" + i);_.b("    <td class=\"boldFont\"><span class=\"floatRight\">");_.b(_.v(_.f("TotalOwed",c,p,0)));_.b("</span></td>\r");_.b("\n" + i);_.b("  </tr>\r");_.b("\n");});c.pop();}_.b("</table>");return _.fl();;};
VedaTPBTemplates['NotificationList']=new Hogan.Template();VedaTPBTemplates['NotificationList'].r=function(c,p,i){var _=this;_.b(i=i||"");_.b("\r");_.b("\n" + i);_.b("        <div class=\"table-responsive\">\r");_.b("\n" + i);_.b("            <table id=\"tableNotificationsList\" class=\"tableSorting table table-striped table-hover\">\r");_.b("\n" + i);_.b("                <colgroup>\r");_.b("\n" + i);_.b("                    <col width=\"5%\" />\r");_.b("\n" + i);_.b("                    <col width=\"10%\" />\r");_.b("\n" + i);_.b("                    <col width=\"10%\" />\r");_.b("\n" + i);_.b("                    <col width=\"55%\" />\r");_.b("\n" + i);_.b("                    <col width=\"10%\" />\r");_.b("\n" + i);_.b("                </colgroup>\r");_.b("\n" + i);_.b("                <thead>\r");_.b("\n" + i);_.b("                    <tr>\r");_.b("\n" + i);_.b("                        <th>\r");_.b("\n" + i);_.b("                        </th>\r");_.b("\n" + i);_.b("                        <th class=\"textAlignCenter\">\r");_.b("\n" + i);_.b("                            Type\r");_.b("\n" + i);_.b("                        </th>\r");_.b("\n" + i);_.b("                        <th class=\"textAlignCenter\">\r");_.b("\n" + i);_.b("                            Sent\r");_.b("\n" + i);_.b("                        </th>\r");_.b("\n" + i);_.b("                        <th>\r");_.b("\n" + i);_.b("                            Subject\r");_.b("\n" + i);_.b("                        </th>\r");_.b("\n" + i);_.b("                        <th class=\"textAlignCenter\">\r");_.b("\n" + i);_.b("                            Delete\r");_.b("\n" + i);_.b("                        </th>\r");_.b("\n" + i);_.b("                    </tr>\r");_.b("\n" + i);_.b("                </thead>\r");_.b("\n" + i);_.b("                <tbody>\r");_.b("\n" + i);if(_.s(_.f("NotificationList",c,p,1),c,p,0,1093,2459,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("                    <tr value=\"");_.b(_.v(_.f("NotificationId",c,p,0)));_.b("|");_.b(_.v(_.f("NotificationType",c,p,0)));_.b("\">\r");_.b("\n" + i);_.b("                        <td class=\"textAlignCenter ");if(!_.s(_.f("Read",c,p,1),c,p,1,0,0,"")){_.b(" new ");};_.b("\">\r");_.b("\n" + i);_.b("                            <input type=\"checkbox\" name=\"notificationCheckname\" value=\"\" class=\"markForDeletion\" />\r");_.b("\n" + i);_.b("                        </td>\r");_.b("\n" + i);_.b("                        <td class=\"greenFont textAlignCenter ");if(!_.s(_.f("Read",c,p,1),c,p,1,0,0,"")){_.b(" new ");};_.b("\">\r");_.b("\n" + i);_.b("                            ");_.b(_.v(_.f("Level",c,p,0)));_.b("\r");_.b("\n" + i);_.b("                        </td>\r");_.b("\n" + i);_.b("                        <td class=\"");if(!_.s(_.f("Read",c,p,1),c,p,1,0,0,"")){_.b(" new ");};_.b("\">\r");_.b("\n" + i);_.b("                            ");_.b(_.v(_.f("FromDateString",c,p,0)));_.b("\r");_.b("\n" + i);_.b("                        </td>\r");_.b("\n" + i);_.b("                        <td class=\"notificationMessage ");if(!_.s(_.f("Read",c,p,1),c,p,1,0,0,"")){_.b(" new ");};_.b("\">\r");_.b("\n" + i);_.b("                            <a href=\"#notification_");_.b(_.v(_.f("NotificationId",c,p,0)));_.b("\" title=\"\" class=\"notificationLink\">\r");_.b("\n" + i);_.b("                                ");_.b(_.v(_.f("Subject",c,p,0)));_.b("\r");_.b("\n" + i);_.b("                            </a>\r");_.b("\n" + i);_.b("                            <div class=\"notificationApproveButtonWrap\">\r");_.b("\n" + i);_.b("                            </div>\r");_.b("\n" + i);_.b("                        </td>\r");_.b("\n" + i);_.b("                        <td class=\"textAlignCenter ");if(!_.s(_.f("Read",c,p,1),c,p,1,0,0,"")){_.b(" new ");};_.b("\">\r");_.b("\n" + i);_.b("                            <a href=\"#\" title=\"Equifax\" class=\"deleteNotificationLink\">\r");_.b("\n" + i);_.b("                                <img src=\"\" alt=\"Equifax\" title=\"Equifax\" />\r");_.b("\n" + i);_.b("                            </a>\r");_.b("\n" + i);_.b("                        </td>\r");_.b("\n" + i);_.b("                    </tr>\r");_.b("\n");});c.pop();}if(!_.s(_.f("NotificationList",c,p,1),c,p,1,0,0,"")){_.b("                    <tr>\r");_.b("\n" + i);_.b("                        <td class=\"textAlignCenter\" colspan=\"5\">\r");_.b("\n" + i);_.b("                            There are no notifications.\r");_.b("\n" + i);_.b("                        </td>\r");_.b("\n" + i);_.b("                    </tr>\r");_.b("\n");};_.b("                </tbody>\r");_.b("\n" + i);_.b("            </table>\r");_.b("\n" + i);_.b("        </div>\r");_.b("\n" + i);_.b("\r");_.b("\n" + i);_.b("\r");_.b("\n");return _.fl();;};
VedaTPBTemplates['NotificationsPanelList']=new Hogan.Template();VedaTPBTemplates['NotificationsPanelList'].r=function(c,p,i){var _=this;_.b(i=i||"");_.b("<h4>Notifications</h4>\r");_.b("\n" + i);_.b("<ul>\r");_.b("\n" + i);if(_.s(_.f("NotificationList",c,p,1),c,p,0,55,356,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("    <li>\r");_.b("\n" + i);_.b("        <a href=\"#notification_");_.b(_.v(_.f("NotificationId",c,p,0)));_.b("\" class=\"notificationLink ");if(!_.s(_.f("Read",c,p,1),c,p,1,0,0,"")){_.b(" new ");};_.b("\">\r");_.b("\n" + i);_.b("            <span class=\"groupsSource\">");_.b(_.v(_.f("Level",c,p,0)));_.b("</span>\r");_.b("\n" + i);_.b("            <p>\r");_.b("\n" + i);_.b("                ");_.b(_.v(_.f("Subject",c,p,0)));_.b("<em>");_.b(_.v(_.f("DaysSinceSent",c,p,0)));_.b(" day(s) ago</em>\r");_.b("\n" + i);_.b("            </p>\r");_.b("\n" + i);_.b("        </a>\r");_.b("\n" + i);_.b("    </li>\r");_.b("\n");});c.pop();}if(!_.s(_.f("NotificationList",c,p,1),c,p,1,0,0,"")){_.b("    <li>\r");_.b("\n" + i);_.b("        <p>\r");_.b("\n" + i);_.b("            There are no new notifications.\r");_.b("\n" + i);_.b("        </p>\r");_.b("\n" + i);_.b("    </li>\r");_.b("\n");};_.b("    <li class=\"notificationPanelLastLink\">\r");_.b("\n" + i);_.b("        <a href=\"allNotifications.html\" id=\"seeAllNotifications\">See all Notifications</a>\r");_.b("\n" + i);_.b("    </li>\r");_.b("\n" + i);_.b("</ul>");return _.fl();;};
VedaTPBTemplates['PaymentHistoryPerformanceHistory']=new Hogan.Template();VedaTPBTemplates['PaymentHistoryPerformanceHistory'].r=function(c,p,i){var _=this;_.b(i=i||"");_.b("<div class=\"scrollTableDiv-AccRecHist-cntr\">\r");_.b("\n" + i);_.b("    <div class=\"table-responsive\">\r");_.b("\n" + i);_.b("        <table class=\"tablePerformanceHistory\">\r");_.b("\n" + i);_.b("            <tr>\r");_.b("\n" + i);_.b("                <th class=\"textAlignLeft\">Period</th>\r");_.b("\n" + i);_.b("                <th class=\"textAlignLeft\">Within Terms</th>\r");_.b("\n" + i);_.b("                <th class=\"textAlignLeft\">1 to 30 Days Past Due</th>\r");_.b("\n" + i);_.b("                <th class=\"textAlignLeft\">31 to 60 Days Past Due</th>\r");_.b("\n" + i);_.b("                <th class=\"textAlignLeft\">61 to 90 Days Past Due</th>\r");_.b("\n" + i);_.b("                <th class=\"textAlignLeft\">91 Days + Past Due</th>\r");_.b("\n" + i);_.b("                <th class=\"textAlignLeft\">Total Slow Accounts</th>\r");_.b("\n" + i);_.b("                <th class=\"textAlignLeft\">Total All Accounts</th>\r");_.b("\n" + i);_.b("                <th class=\"textAlignLeft\">Total Past Due</th>\r");_.b("\n" + i);_.b("                <th class=\"textAlignLeft\">Total Owing</th>\r");_.b("\n" + i);_.b("            </tr>\r");_.b("\n" + i);if(!_.s(_.f("Results",c,p,1),c,p,1,0,0,"")){if(_.s(_.f("Loading",c,p,1),c,p,0,871,972,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("            <tr>\r");_.b("\n" + i);_.b("                <td colspan=\"10\">Loading...</td>\r");_.b("\n" + i);_.b("            </tr>\r");_.b("\n");});c.pop();}if(!_.s(_.f("Loading",c,p,1),c,p,1,0,0,"")){_.b("            <tr>\r");_.b("\n" + i);_.b("                <td colspan=\"10\">No Results</td>\r");_.b("\n" + i);_.b("            </tr>\r");_.b("\n");};};if(_.s(_.f("Results",c,p,1),c,p,0,1175,3174,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("            <tr>\r");_.b("\n" + i);_.b("                <td>");_.b(_.v(_.f("Period",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("                <td class=\"textAlignLeft\">\r");_.b("\n" + i);_.b("                    <a href=\"");_.b(_.v(_.f("AmountCurrentNumAccountFilterLink",c,p,0)));_.b("\" class=\"noArrow\">");_.b(_.v(_.f("AmountCurrentNumAccount",c,p,0)));_.b("</a><span class=\"boldFont accRecHistoryspanBoldSettings\">");_.b(_.v(_.f("AmountCurrentNumAccountPercentage",c,p,0)));_.b("</span>\r");_.b("\n" + i);_.b("</td>\r");_.b("\n" + i);_.b("                <td class=\"textAlignLeft\">\r");_.b("\n" + i);_.b("                    <a href=\"");_.b(_.v(_.f("AmountOverdue1to30NumAccountFilterLink",c,p,0)));_.b("\" class=\"noArrow\">");_.b(_.v(_.f("AmountOverdue1to30NumAccount",c,p,0)));_.b("</a><span class=\"boldFont accRecHistoryspanBoldSettings\">");_.b(_.v(_.f("AmountOverdue1to30NumAccountPercentage",c,p,0)));_.b("</span>\r");_.b("\n" + i);_.b("</td>\r");_.b("\n" + i);_.b("                <td class=\"textAlignLeft\">\r");_.b("\n" + i);_.b("                    <a href=\"");_.b(_.v(_.f("AmountOverdue31to60NumAccountFilterLink",c,p,0)));_.b("\" class=\"noArrow\">");_.b(_.v(_.f("AmountOverdue31to60NumAccount",c,p,0)));_.b("</a><span class=\"boldFont accRecHistoryspanBoldSettings\">");_.b(_.v(_.f("AmountOverdue31to60NumAccountPercentage",c,p,0)));_.b("</span>\r");_.b("\n" + i);_.b("</td>\r");_.b("\n" + i);_.b("                <td class=\"textAlignLeft\">\r");_.b("\n" + i);_.b("                    <a href=\"");_.b(_.v(_.f("AmountOverdue61to90NumAccountFilterLink",c,p,0)));_.b("\" class=\"noArrow\">");_.b(_.v(_.f("AmountOverdue61to90NumAccount",c,p,0)));_.b("</a><span class=\"boldFont accRecHistoryspanBoldSettings\">");_.b(_.v(_.f("AmountOverdue61to90NumAccountPercentage",c,p,0)));_.b("</span>\r");_.b("\n" + i);_.b("</td>\r");_.b("\n" + i);_.b("                <td class=\"textAlignLeft\">\r");_.b("\n" + i);_.b("                    <a href=\"");_.b(_.v(_.f("AmountOverdue91plusNumAccountFilterLink",c,p,0)));_.b("\" class=\"noArrow\">");_.b(_.v(_.f("AmountOverdue91plusNumAccount",c,p,0)));_.b("</a><span class=\"boldFont accRecHistoryspanBoldSettings\">");_.b(_.v(_.f("AmountOverdue91plusNumAccountPercentage",c,p,0)));_.b("</span>\r");_.b("\n" + i);_.b("                </td>\r");_.b("\n" + i);_.b("                <td class=\"textAlignLeft\">\r");_.b("\n" + i);_.b("                    <span class=\"totalSlowAccount boldFont accRecHistoryspanBoldSettings\">");_.b(_.v(_.f("TotalSlowAccountPercentage",c,p,0)));_.b("</span>\r");_.b("\n" + i);_.b("                    <span class=\"totalSlowAccount\">");_.b(_.v(_.f("TotalSlowAccount",c,p,0)));_.b("</span>\r");_.b("\n" + i);_.b("                </td>\r");_.b("\n" + i);_.b("                <td class=\"textAlignLeft\">\r");_.b("\n" + i);_.b("                    ");_.b(_.v(_.f("TotalAllAccount",c,p,0)));_.b("\r");_.b("\n" + i);_.b("                </td>\r");_.b("\n" + i);_.b("                <td class=\"boldFont\">");_.b(_.v(_.f("TotalPastDue",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("                <td class=\"boldFont\">");_.b(_.v(_.f("TotalOwed",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("            </tr>\r");_.b("\n");});c.pop();}_.b("        </table>\r");_.b("\n" + i);_.b("    </div>\r");_.b("\n" + i);_.b("</div>\r");_.b("\n");return _.fl();;};
VedaTPBTemplates['PaymentPerformance']=new Hogan.Template();VedaTPBTemplates['PaymentPerformance'].r=function(c,p,i){var _=this;_.b(i=i||"");_.b("<table class=\"tablePaymentPerformance centered table table-no-bordered table-striped\" style=\"border: 1px solid #dddddd;\">\r");_.b("\n" + i);_.b("    <thead style=\"border: none;\">\r");_.b("\n" + i);_.b("        <tr class=\"centered\">\r");_.b("\n" + i);_.b("            <th class=\"textAlignCenter vert-algn-mdl\" colspan=\"7\" style=\"font-size:15px !important; background: #ffffff;\">\r");_.b("\n" + i);_.b("                <b>Average Over The Last Four Periods</b>\r");_.b("\n" + i);_.b("            </th>\r");_.b("\n" + i);_.b("        </tr>\r");_.b("\n" + i);_.b("        <tr class=\"centered\" style=\"border-top: 2px solid #dddddd; border-bottom: 1px solid #dddddd;\">\r");_.b("\n" + i);_.b("            <th class=\"vert-algn-mdl\" style=\"text-align:left !important; background: #ffffff;\"><!--Business Unit--></th>\r");_.b("\n" + i);_.b("            <th class=\"textAlignCenter vert-algn-mdl\" style=\"background: #ffffff;\"><b>Average Owed</b></th>\r");_.b("\n" + i);_.b("            <th class=\"textAlignCenter vert-algn-mdl\" style=\"background: #ffffff;\"><b>% of debt within terms</b></th>\r");_.b("\n" + i);_.b("            <th class=\"textAlignCenter vert-algn-mdl\" style=\"background: #ffffff;\"><b>% of debt past due</b></th>\r");_.b("\n" + i);_.b("            <th class=\"textAlignCenter vert-algn-mdl\" style=\"background: #ffffff;\"><b>% of debt 31+ days past due</b></th>\r");_.b("\n" + i);_.b("            <th class=\"textAlignCenter vert-algn-mdl\" style=\"background: #ffffff;\"><b>% of debt 61+ days past due</b></th>\r");_.b("\n" + i);_.b("            <th class=\"textAlignCenter vert-algn-mdl\" style=\"background: #ffffff;\"><b>% of debt 91+ days past due</b></th>\r");_.b("\n" + i);_.b("        </tr>\r");_.b("\n" + i);_.b("    </thead>\r");_.b("\n" + i);_.b("    <tbody style=\"border: none;\">\r");_.b("\n" + i);if(!_.s(_.f("Results",c,p,1),c,p,1,0,0,"")){if(_.s(_.f("Loading",c,p,1),c,p,0,1453,1537,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("        <tr>\r");_.b("\n" + i);_.b("            <td colspan=\"7\">Loading...</td>\r");_.b("\n" + i);_.b("        </tr>\r");_.b("\n");});c.pop();}if(!_.s(_.f("Loading",c,p,1),c,p,1,0,0,"")){_.b("        <tr>\r");_.b("\n" + i);_.b("            <td colspan=\"7\">No Results</td>\r");_.b("\n" + i);_.b("        </tr>\r");_.b("\n");};};if(_.s(_.f("Results",c,p,1),c,p,0,1711,2630,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("        <tr class=\"centered\">\r");_.b("\n" + i);_.b("            <td class=\"vert-algn-mdl\" style=\"text-align:left !important;\">\r");_.b("\n" + i);_.b("                ");_.b(_.v(_.f("DataProviderName",c,p,0)));_.b(" <br />");_.b(_.v(_.f("LedgerName",c,p,0)));_.b("\r");_.b("\n" + i);_.b("            </td>\r");_.b("\n" + i);_.b("            <td class=\"textAlignCenter vert-algn-mdl\" nowrap=\"\">\r");_.b("\n" + i);_.b("                ");_.b(_.v(_.f("AverageOwed",c,p,0)));_.b("\r");_.b("\n" + i);_.b("            </td>\r");_.b("\n" + i);_.b("            <td class=\"textAlignCenter vert-algn-mdl\" nowrap=\"\">\r");_.b("\n" + i);_.b("                ");_.b(_.v(_.f("PercWithinTerms",c,p,0)));_.b("\r");_.b("\n" + i);_.b("            </td>\r");_.b("\n" + i);_.b("            <td class=\"textAlignCenter vert-algn-mdl\" nowrap=\"\">\r");_.b("\n" + i);_.b("                ");_.b(_.v(_.f("PercPastDue",c,p,0)));_.b("\r");_.b("\n" + i);_.b("            </td>\r");_.b("\n" + i);_.b("            <td class=\"textAlignCenter vert-algn-mdl\" nowrap=\"\">\r");_.b("\n" + i);_.b("                ");_.b(_.v(_.f("Perc31Plus",c,p,0)));_.b("\r");_.b("\n" + i);_.b("            </td>\r");_.b("\n" + i);_.b("            <td class=\"textAlignCenter vert-algn-mdl\" nowrap=\"\">\r");_.b("\n" + i);_.b("                ");_.b(_.v(_.f("Perc61Plus",c,p,0)));_.b("\r");_.b("\n" + i);_.b("            </td>\r");_.b("\n" + i);_.b("            <td class=\"textAlignCenter vert-algn-mdl\" nowrap=\"\">\r");_.b("\n" + i);_.b("                ");_.b(_.v(_.f("Perc91Plus",c,p,0)));_.b("\r");_.b("\n" + i);_.b("            </td>\r");_.b("\n" + i);_.b("        </tr>\r");_.b("\n");});c.pop();}_.b("    </tbody>\r");_.b("\n" + i);_.b("</table>");return _.fl();;};
VedaTPBTemplates['ThirdPartyReports']=new Hogan.Template();VedaTPBTemplates['ThirdPartyReports'].r=function(c,p,i){var _=this;_.b(i=i||"");_.b("<table class=\"tableAccountsList tableSorting\" id=\"thirdPartyAccounts\">\r");_.b("\n" + i);_.b("  <thead>\r");_.b("\n" + i);_.b("    <tr>\r");_.b("\n" + i);_.b("      <th>File Number</th>\r");_.b("\n" + i);_.b("      <th>\r");_.b("\n" + i);_.b("        Name\r");_.b("\n" + i);_.b("      </th>\r");_.b("\n" + i);_.b("      <th>\r");_.b("\n" + i);_.b("        Address\r");_.b("\n" + i);_.b("      </th>\r");_.b("\n" + i);_.b("      <th>\r");_.b("\n" + i);_.b("        ACN\r");_.b("\n" + i);_.b("      </th>\r");_.b("\n" + i);_.b("      <th>\r");_.b("\n" + i);_.b("        ABN\r");_.b("\n" + i);_.b("      </th>\r");_.b("\n" + i);_.b("      <th>\r");_.b("\n" + i);_.b("        SCVID\r");_.b("\n" + i);_.b("      </th>\r");_.b("\n" + i);_.b("      <th></th>\r");_.b("\n" + i);_.b("    </tr>\r");_.b("\n" + i);_.b("  </thead>\r");_.b("\n" + i);_.b("  <tbody>\r");_.b("\n" + i);if(_.s(_.f("Results",c,p,1),c,p,0,385,940,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("    <tr>\r");_.b("\n" + i);_.b("      <td>\r");_.b("\n" + i);_.b("        ");_.b(_.v(_.f("FileNumber",c,p,0)));_.b("\r");_.b("\n" + i);_.b("      </td>\r");_.b("\n" + i);_.b("      <td>\r");_.b("\n" + i);_.b("        <p class=\"displayBlock\">\r");_.b("\n" + i);_.b("          <b>Trading Name:</b>&nbsp;");_.b(_.v(_.f("TradingName",c,p,0)));_.b("\r");_.b("\n" + i);_.b("        </p>\r");_.b("\n" + i);_.b("        <p class=\"displayBlock\">\r");_.b("\n" + i);_.b("          <b>Entity Name:</b>&nbsp;");_.b(_.v(_.f("EntityName",c,p,0)));_.b("\r");_.b("\n" + i);_.b("        </p>\r");_.b("\n" + i);_.b("      </td>\r");_.b("\n" + i);_.b("      <td>");_.b(_.v(_.f("Address",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("      <td>\r");_.b("\n" + i);_.b("        ");_.b(_.v(_.f("ACN",c,p,0)));_.b("\r");_.b("\n" + i);_.b("      </td>\r");_.b("\n" + i);_.b("      <td>\r");_.b("\n" + i);_.b("        ");_.b(_.v(_.f("ABN",c,p,0)));_.b("\r");_.b("\n" + i);_.b("      </td>\r");_.b("\n" + i);_.b("      <td>\r");_.b("\n" + i);_.b("        ");_.b(_.v(_.f("SCVID",c,p,0)));_.b("\r");_.b("\n" + i);_.b("      </td>\r");_.b("\n" + i);_.b("      <td>\r");_.b("\n" + i);_.b("        <a href=\"");_.b(_.v(_.f("DetailsLink",c,p,0)));_.b("\" class=\"tpAccountDetailsLink\">View</a>\r");_.b("\n" + i);_.b("      </td>\r");_.b("\n" + i);_.b("    </tr>\r");_.b("\n");});c.pop();}if(!_.s(_.f("Results",c,p,1),c,p,1,0,0,"")){_.b("    <tr>\r");_.b("\n" + i);_.b("      <td colspan=\"8\">\r");_.b("\n" + i);_.b("        No Results Returned\r");_.b("\n" + i);_.b("      </td>\r");_.b("\n" + i);_.b("    </tr>\r");_.b("\n");};_.b("  </tbody>\r");_.b("\n" + i);_.b("</table>");return _.fl();;};
VedaTPBTemplates['UserGroupActivity']=new Hogan.Template();VedaTPBTemplates['UserGroupActivity'].r=function(c,p,i){var _=this;_.b(i=i||"");_.b("<col width=\"12%\" />\r");_.b("\n" + i);_.b("<col width=\"78%\" />\r");_.b("\n" + i);_.b("<col width=\"10%\" />\r");_.b("\n" + i);if(_.s(_.f("UserGroupActivities",c,p,1),c,p,0,87,1028,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("	<tr class=\"userGroupActivityItem\" id=\"activityItem_");_.b(_.v(_.f("ActivityId",c,p,0)));_.b("\">\r");_.b("\n" + i);_.b("\r");_.b("\n" + i);_.b("		<td class=\"textAlignLeft italicFont activityStartDate\" data-activityStartDate=\"");_.b(_.v(_.f("ActivityStartDateShort",c,p,0)));_.b("\"\r");_.b("\n" + i);_.b("        data-activityEndDate=\"");_.b(_.v(_.f("ActivityEndDateShort",c,p,0)));_.b("\">");_.b(_.v(_.f("ActivityStartDateString",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("		<td class=\"userGroupActivityDescriptionCell\">\r");_.b("\n" + i);_.b("			<div class=\"userGroupActivityDescription\">\r");_.b("\n" + i);_.b("				<h3 class=\"activitySubject\">\r");_.b("\n" + i);_.b("					");_.b(_.v(_.f("ActivitySubject",c,p,0)));_.b("</h3>\r");_.b("\n" + i);_.b("				<p class=\"activityDescription\" style=\"word-wrap: break-word;\">");_.b(_.v(_.f("ActivityDescription",c,p,0)));_.b("</p>\r");_.b("\n" + i);_.b("			</div>\r");_.b("\n" + i);_.b("		</td>\r");_.b("\n" + i);_.b("    <td class=\"textAlignCenter userGroupAnnouncementEditCell\">\r");_.b("\n" + i);_.b("      <a href=\"#\" title=\"Equifax\" class=\"userGroupAnnouncementEdit\" data-visibility=\"");_.b(_.v(_.f("EditButtonVisibility",c,p,0)));_.b("\">\r");_.b("\n" + i);_.b("        <img src=\"\" alt=\"Edit\" title=\"Edit\" />\r");_.b("\n" + i);_.b("      </a>\r");_.b("\n" + i);_.b("      <a href=\"#\" title=\"Equifax\" class=\"userGroupAnnouncementClose\">\r");_.b("\n" + i);_.b("        <img src=\"\" alt=\"Delete\" title=\"Delete\" />\r");_.b("\n" + i);_.b("      </a>\r");_.b("\n" + i);_.b("    </td>\r");_.b("\n" + i);_.b("	</tr>\r");_.b("\n");});c.pop();}if(!_.s(_.f("UserGroupActivities",c,p,1),c,p,1,0,0,"")){_.b("<tr class=\"userGroupActivityItem\">\r");_.b("\n" + i);_.b("   <td>\r");_.b("\n" + i);_.b("		<h4>\r");_.b("\n" + i);_.b("			There are no announcements for this group.\r");_.b("\n" + i);_.b("		</h4>\r");_.b("\n" + i);_.b("	</td>\r");_.b("\n" + i);_.b("</tr>\r");_.b("\n");};return _.fl();;};
VedaTPBTemplates['UserGroupTotalOwed']=new Hogan.Template();VedaTPBTemplates['UserGroupTotalOwed'].r=function(c,p,i){var _=this;_.b(i=i||"");if(!_.s(_.f("AccountMatched",c,p,1),c,p,1,0,0,"")){_.b("<span>Account not matched to an A.C.N. or ABN.  No group data available.</span>\r");_.b("\n");};if(_.s(_.f("AccountMatched",c,p,1),c,p,0,142,1589,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("<table id=\"tableUserGroupTotalOwed\" class=\"table table-no-bordered table-striped\" style=\"border: 1px solid #dddddd;\">\r");_.b("\n" + i);_.b("    <thead style=\"border: none;\">\r");_.b("\n" + i);_.b("        <tr>\r");_.b("\n" + i);_.b("            <th>Group Name</th>\r");_.b("\n" + i);_.b("            <th class=\"textAlignCenter\">Within Terms</th>\r");_.b("\n" + i);_.b("            <th class=\"textAlignCenter\">1-30 Days</th>\r");_.b("\n" + i);_.b("            <th class=\"textAlignCenter\">31-60 Days</th>\r");_.b("\n" + i);_.b("            <th class=\"textAlignCenter\">61-90 Days</th>\r");_.b("\n" + i);_.b("            <th class=\"textAlignCenter\">90+ Days</th>\r");_.b("\n" + i);_.b("            <th class=\"textAlignCenter\">Total Past Due</th>\r");_.b("\n" + i);_.b("            <th class=\"textAlignCenter\">Total Owing</th>\r");_.b("\n" + i);_.b("        </tr>\r");_.b("\n" + i);_.b("    </thead>\r");_.b("\n" + i);_.b("    <tbody style=\"border: none;\">\r");_.b("\n" + i);if(!_.s(_.f("TotalOwedItems",c,p,1),c,p,1,0,0,"")){_.b("        <tr>\r");_.b("\n" + i);_.b("            <td colspan=\"8\">No Data Available</td>\r");_.b("\n" + i);_.b("        </tr>\r");_.b("\n");};if(_.s(_.f("TotalOwedItems",c,p,1),c,p,0,978,1544,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("        <tr>\r");_.b("\n" + i);_.b("            <td>");_.b(_.v(_.f("GroupName",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("            <td class=\"textAlignCenter\" nowrap=\"\">");_.b(_.v(_.f("WithinTerms",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("            <td class=\"textAlignCenter\" nowrap=\"\">");_.b(_.v(_.f("Overdue1To30",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("            <td class=\"textAlignCenter\" nowrap=\"\">");_.b(_.v(_.f("Overdue31To60",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("            <td class=\"textAlignCenter\" nowrap=\"\">");_.b(_.v(_.f("Overdue61To90",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("            <td class=\"textAlignCenter\" nowrap=\"\">");_.b(_.v(_.f("Overdue91Plus",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("            <td class=\"textAlignCenter\">");_.b(_.v(_.f("TotalPastDue",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("            <td class=\"textAlignCenter\">");_.b(_.v(_.f("TotalOwing",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("        </tr>\r");_.b("\n");});c.pop();}_.b("    </tbody>\r");_.b("\n" + i);_.b("</table>\r");_.b("\n");});c.pop();}return _.fl();;};
VedaTPBTemplates['UserList']=new Hogan.Template();VedaTPBTemplates['UserList'].r=function(c,p,i){var _=this;_.b(i=i||"");_.b("<table class=\"tableAccountsList tableSorting\" id=\"userSearchResult\">\r");_.b("\n" + i);_.b("  <thead>\r");_.b("\n" + i);_.b("    <tr>\r");_.b("\n" + i);_.b("      <th>User ID</th>\r");_.b("\n" + i);_.b("      <th>\r");_.b("\n" + i);_.b("        First Name\r");_.b("\n" + i);_.b("      </th>\r");_.b("\n" + i);_.b("      <th>\r");_.b("\n" + i);_.b("        Last Name\r");_.b("\n" + i);_.b("      </th>\r");_.b("\n" + i);_.b("      <th>\r");_.b("\n" + i);_.b("        Subscriber Code\r");_.b("\n" + i);_.b("      </th>\r");_.b("\n" + i);_.b("      <th>\r");_.b("\n" + i);_.b("        Branch Code\r");_.b("\n" + i);_.b("      </th>\r");_.b("\n" + i);_.b("      <th>User Role</th>\r");_.b("\n" + i);_.b("      <th>Actions</th>\r");_.b("\n" + i);_.b("    </tr>\r");_.b("\n" + i);_.b("  </thead>\r");_.b("\n" + i);_.b("  <tbody>\r");_.b("\n" + i);if(_.s(_.f("SearchResults",c,p,1),c,p,0,406,1013,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("    <tr>\r");_.b("\n" + i);_.b("      <td class=\"usUserName\">");_.b(_.v(_.f("UserName",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("      <td class=\"usFirstName\">");_.b(_.v(_.f("FirstName",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("      <td class=\"usLastName\">");_.b(_.v(_.f("LastName",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("      <td class=\"usSubscriberCode\">");_.b(_.v(_.f("SubscriberCode",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("      <td class=\"usBranchCode\">");_.b(_.v(_.f("BranchCode",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("      <td class=\"usUserRole\">");_.b(_.v(_.f("UserRole",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("      <td>\r");_.b("\n" + i);_.b("        <a href=\"#");_.b(_.v(_.f("UserId",c,p,0)));_.b("\" class=\"viewUserDetailsLink inline\">View</a><br />\r");_.b("\n" + i);_.b("        <a href=\"#");_.b(_.v(_.f("UserName",c,p,0)));_.b("\" class=\"editUserDetailsLink inline\">Edit</a><br />\r");_.b("\n" + i);_.b("        <!--<a href=\"#");_.b(_.v(_.f("UserId",c,p,0)));_.b("\" class=\"deleteUserLink inline\">Delete</a><br />-->\r");_.b("\n" + i);_.b("      </td>\r");_.b("\n" + i);_.b("    </tr>\r");_.b("\n");});c.pop();}if(!_.s(_.f("SearchResults",c,p,1),c,p,1,0,0,"")){_.b("    <tr>\r");_.b("\n" + i);_.b("      <td colspan=\"8\">\r");_.b("\n" + i);_.b("        No Results Returned\r");_.b("\n" + i);_.b("      </td>\r");_.b("\n" + i);_.b("    </tr>\r");_.b("\n");};_.b("  </tbody>\r");_.b("\n" + i);_.b("</table>");return _.fl();;};
VedaTPBTemplates['UserRoleEdit']=new Hogan.Template();VedaTPBTemplates['UserRoleEdit'].r=function(c,p,i){var _=this;_.b(i=i||"");_.b("<table class=\"table table-striped table-bordered\" id=\"");_.b(_.v(_.f("Name",c,p,0)));_.b("\">\r");_.b("\n" + i);_.b("  <thead>\r");_.b("\n" + i);_.b("    <tr>\r");_.b("\n" + i);_.b("      <th>Role</th>\r");_.b("\n" + i);_.b("      <th class=\"span1\">Enabled?</th>\r");_.b("\n" + i);_.b("    </tr>\r");_.b("\n" + i);_.b("  </thead>\r");_.b("\n" + i);_.b("  <tbody>\r");_.b("\n" + i);if(_.s(_.f("Roles",c,p,1),c,p,0,195,817,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("    <tr>\r");_.b("\n" + i);_.b("      <td>");_.b(_.v(_.d("Role.Name",c,p,0)));_.b("</td>\r");_.b("\n" + i);_.b("      <td>\r");_.b("\n" + i);if(_.s(_.f("Enabled",c,p,1),c,p,0,269,515,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("        <button class=\"redButton\" style=\"min-width: 50px;margin-left:20px !important\" id=\"roleToggle_");_.b(_.v(_.d("Role.Id",c,p,0)));_.b("\">\r");_.b("\n" + i);_.b("          <i class=\"icon-download-alt icon-white\">\r");_.b("\n" + i);_.b("            <strong>On</strong>\r");_.b("\n" + i);_.b("          </i>\r");_.b("\n" + i);_.b("        </button>\r");_.b("\n");});c.pop();}if(!_.s(_.f("Enabled",c,p,1),c,p,1,0,0,"")){_.b("        <button class=\"lightGreyButton\" style=\"max-width: 50px;\" id=\"roleToggle_");_.b(_.v(_.d("Role.Id",c,p,0)));_.b("\">\r");_.b("\n" + i);_.b("          <i class=\"icon-download-alt icon-white\">\r");_.b("\n" + i);_.b("            <strong>Off</strong>\r");_.b("\n" + i);_.b("          </i>\r");_.b("\n" + i);_.b("        </button>\r");_.b("\n");};_.b("      </td>\r");_.b("\n" + i);_.b("    </tr>\r");_.b("\n");});c.pop();}_.b("  </tbody>\r");_.b("\n" + i);_.b("</table>\r");_.b("\n" + i);_.b(" ");return _.fl();;};
VedaTPBTemplates['UserSubscriberBranch']=new Hogan.Template();VedaTPBTemplates['UserSubscriberBranch'].r=function(c,p,i){var _=this;_.b(i=i||"");_.b("<div class=\"clear\"></div>\r");_.b("\n" + i);_.b("<div class=\"height20\"></div>\r");_.b("\n" + i);if(_.s(_.f("ManagedBranches",c,p,1),c,p,0,77,513,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("	<div class=\"row\"><div>\r");_.b("\n" + i);_.b("		<div class=\"formField\">\r");_.b("\n" + i);_.b("			<div class=\"formFieldRight\">\r");_.b("\n" + i);_.b("				<input class=\"longInput dataProviderName\" type=\"text\" value=\"");_.b(_.v(_.f("SubscriberCode",c,p,0)));_.b(" ");_.b(_.v(_.f("BranchCode",c,p,0)));_.b(" - ");_.b(_.v(_.f("DataProviderName",c,p,0)));_.b("\" disabled=\"disabled\"/>\r");_.b("\n" + i);_.b("			</div>\r");_.b("\n" + i);_.b("			<a href=\"#\" subscriber=\"");_.b(_.v(_.f("SubscriberCode",c,p,0)));_.b("\" branch=\"");_.b(_.v(_.f("BranchCode",c,p,0)));_.b("\" class=\"deleteDataProviderName\">Remove</a>\r");_.b("\n" + i);_.b("		</div>\r");_.b("\n" + i);_.b("	</div>\r");_.b("\n" + i);_.b("	<div class=\"clear\"></div>\r");_.b("\n" + i);_.b("	<div class=\"height20\"></div>\r");_.b("\n");});c.pop();}_.b("\r");_.b("\n");return _.fl();;};