Files
Credit-Zombies/resources/views/lg/edit.blade.php
2026-06-24 18:29:01 +06:00

516 lines
53 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
@extends('layouts.app')
@section('styles')
<link href="{{ asset('public/css/datepicker.css') }}" rel="stylesheet">
<link href="{{ asset('public/css/evlg-page.css') }}" rel="stylesheet">
<link href="{{ asset('public/js/summernote/summernote.css') }}" rel="stylesheet">
<link href="{{ asset('public/css/bootstrap-multiselect.css') }}" rel="stylesheet">
@endsection
@section('content')
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="panel panel-default panel-frm">
<div class="panel-heading">
<h1>Epic-Velocity Template Letter</h1>
<p>The EV-TLG is the Credit Repair Champions and the Metro 2 Compliance Academys Official Template Letter Generator Attack Wave System Software! </p>
</div>
<div class="panel-body">
@if (session('status'))
<div class="alert alert-success">
{{ session('status') }}
</div>
@endif
<div class="clearfix"></div>
<form method="POST" action="{{ url('/lg/update/'.$model->id) }}" accept-charset="UTF-8" enctype="multipart/form-data" id="lg-form">
<div class="row">
{{ csrf_field() }}
<input type="hidden" name="action" value="edit">
<div class="col-md-12 col-sm-12 col-xs-12">
<div class="x_panel">
<div class="x_content">
<div class="col-md-12 text-center">
<span class="glyphicon glyphicon-play-circle video-icon" title="Need Help" onclick="alert('Vidoes coming soon!')"></span>
<div class="col-md-6 col-md-offset-3 ">
<div class="form-group">
<label>Select Client</label>
<!-- <input id="today" type="text" class="form-control" name="today" required autofocus > -->
<select name="client_id" onchange="getClientEdit()" class="form-control" id="client_id">
<option value="">Please select</option>
@foreach ($users as $key => $obj)
<option value="{{$obj->id}}"
<?php if($model->client_id==$obj->id){?> selected="selected" <?php } ?>
>{{$obj->firstname}}</option>
@endforeach
</select>
<input type="hidden" name="client_name" id="client_name" value="">
<input type="hidden" name="date_time" id="date_time" value="">
<img id="client-loader" style="display: none;" src="{{ asset('public/images/ajax-loader.gif') }}">
</div>
</div>
</div>
<div class="col-md-6 ">
<div class="form-group">
<label>Todays Date is</label>
<input id="today" type="text" class="form-control" name="today" required autofocus >
</div>
</div>
<div class="col-md-6 ">
<div class="form-group">
<label>Credit Report Data Resource or Monitoring</label>
<input id="cr_resource" type="text" class="form-control" name="cr_resource" >
</div>
</div>
<div class="col-md-6 ">
<div class="form-group">
<label><span class="req-span">*</span>Name (at least First and Last Name)</label>
<input id="name" type="text" class="form-control" name="name" required >
</div>
</div>
<div class="col-md-6 ">
<div class="form-group">
<label><span class="req-span">*</span>Address (at least Street Number, Street Name, City, State spelled out)</label>
<input id="address" type="text" class="form-control" name="address" placeholder="">
</div>
</div>
<div class="col-md-6 ">
<div class="form-group">
<label>Date of Birth</label>
<input id="dob" type="text" class="form-control datepicker" name="dob" placeholder="">
</div>
</div>
<div class="col-md-6 ">
<div class="form-group">
<label>Social Security Number (last four ONLY displayed on ANY DOCUMENT)</label>
<input id="ssn" type="text" class="form-control" name="ssn" maxlength="12" placeholder="" required>
</div>
</div>
<div class="col-md-6 ">
<div class="form-group">
<label>Personal Tracking Number</label>
<input id="p_tracking_number" type="text" class="form-control" name="p_tracking_number" value="{{$model->p_tracking_number}}">
<span class="glyphicon glyphicon-refresh" title="Regenrate" id="btn-regenerate" onclick="gen_rand()"></span>
</div>
<div class="form-group" id="univ-dest-div">
<label>Universal Template Destinatioin(s)</label><br>
<select id="univ-dest" multiple="multiple" class="form-control" name="destination[]">
<optgroup label="EXPERIAN DESTINATIONS">
<option value="EXPERIAN PO BOX 9701, ALLEN, TX 75013" @if(in_array( 'EXPERIAN PO BOX 9701, ALLEN, TX 75013',$model->univ_dest )) selected="selected" @endif > EXPERIAN PO BOX 9701, ALLEN, TX 75013</option>
<option value="EXPERIAN PO BOX 4500, ALLEN, TX 75013" @if(in_array( 'EXPERIAN PO BOX 4500, ALLEN, TX 75013',$model->univ_dest )) selected="selected" @endif >EXPERIAN PO BOX 4500, ALLEN, TX 75013</option>
</optgroup>
<optgroup label="EQUIFAX DESTINATIONS">
<option value="EQUIFAX PO Box740256, ATLANTA,GA 30374-0256" @if(in_array( 'EQUIFAX PO Box740256, ATLANTA,GA 30374-0256',$model->univ_dest )) selected="selected" @endif >EQUIFAX PO Box740256, ATLANTA,GA 30374-0256</option>
<option value="EQUIFAX PO Box740241, ATLANTA,GA 30374-0241" @if(in_array( 'EQUIFAX PO Box740241, ATLANTA,GA 30374-0241',$model->univ_dest )) selected="selected" @endif >EQUIFAX PO Box740241, ATLANTA,GA 30374-0241</option>
</optgroup>
<optgroup label="TRANS UNION DESTINATIONS">
<option value="Trans Union PO Box 2000, CHESTER, PA 19016-2000" @if(in_array( 'Trans Union PO Box 2000, CHESTER, PA 19016-2000',$model->univ_dest )) selected="selected" @endif >Trans Union PO Box 2000, CHESTER, PA 19016-2000</option>
<option value="Trans Union PO Box 1000, CHESTER, PA 19022-1000" @if(in_array( 'Trans Union PO Box 1000, CHESTER, PA 19022-1000',$model->univ_dest )) selected="selected" @endif>Trans Union PO Box 1000, CHESTER, PA 19022-1000</option>
<option value="Trans Union PO Box 2000, CHESTER, PA 19022-2000" @if(in_array( 'Trans Union PO Box 2000, CHESTER, PA 19022-2000',$model->univ_dest )) selected="selected" @endif>Trans Union PO Box 2000, CHESTER, PA 19022-2000</option>
</optgroup>
<optgroup label="INNOVIS DESTINATIONS">
<option value="INNOVIS PO Box 1640, Pittsburgh, PA 15230-1640" @if(in_array( 'INNOVIS PO Box 1640, Pittsburgh, PA 15230-1640',$model->univ_dest )) selected="selected" @endif>INNOVIS PO Box 1640, Pittsburgh, PA 15230-1640</option>
<option value="Innovis Consumer Assistance PO Box 530088, Atlanta, GA 30353-0088" @if(in_array( 'Innovis Consumer Assistance PO Box 530088, Atlanta, GA 30353-0088',$model->univ_dest )) selected="selected" @endif>Innovis Consumer Assistance PO Box 530088, Atlanta, GA 30353-0088</option>
</optgroup>
<optgroup label="LEXISNEXIS DESTINATIONS">
<option value="LexisNexis PO Box 105108, Atlanta, GA 30348" @if(in_array( 'LexisNexis PO Box 105108, Atlanta, GA 30348',$model->univ_dest )) selected="selected" @endif>LexisNexis PO Box 105108, Atlanta, GA 30348</option>
</optgroup>
<optgroup label="SAGESTREAM LLC DESTINATIONS">
<option value="SageStream, LLC, LexisNexis Risk Solutions Consumer Center P. O. Box 105108. Atlanta, Georgia 30348-5108" @if(in_array( 'SageStream, LLC, LexisNexis Risk Solutions Consumer Center P. O. Box 105108. Atlanta, Georgia 30348-5108',$model->univ_dest )) selected="selected" @endif>SageStream, LLC, LexisNexis Risk Solutions Consumer Center P. O. Box 105108. Atlanta, Georgia 30348-5108</option>
</optgroup>
<optgroup label="CHEX SYSTEMS DESTINATIONS">
<option value="Chex Systems ATTN: Consumer Relations, 7805 Hudson Rd., Ste. 100, Woodbury, MN 55125" @if(in_array( 'Chex Systems ATTN: Consumer Relations, 7805 Hudson Rd., Ste. 100, Woodbury, MN 55125',$model->univ_dest )) selected="selected" @endif>Chex Systems ATTN: Consumer Relations, 7805 Hudson Rd., Ste. 100, Woodbury, MN 55125</option>
</optgroup>
<optgroup label="MIB INC DESTINATIONS">
<option value="(US RESIDENTS) MIB Inc 50 Braintree Hill Park, Suite 400, Braintree, MA 02184-8734" @if(in_array( '(US RESIDENTS) MIB Inc 50 Braintree Hill Park, Suite 400, Braintree, MA 02184-8734',$model->univ_dest )) selected="selected" @endif>(US RESIDENTS) MIB Inc 50 Braintree Hill Park, Suite 400, Braintree, MA 02184-8734</option>
<option value="(CANADIAN RESIDENTS) MIB Inc 330 university Avenue, Suite 501, Toronto, Canada M5G 1R7" @if(in_array( '(CANADIAN RESIDENTS) MIB Inc 330 university Avenue, Suite 501, Toronto, Canada M5G 1R7',$model->univ_dest )) selected="selected" @endif>(CANADIAN RESIDENTS) MIB Inc 330 university Avenue, Suite 501, Toronto, Canada M5G 1R7</option>
</optgroup>
<optgroup label="FACTOR TRUST DESTINATIONS">
<option value="FactorTrust PO Box 3653,Alpharhetta, GA 30023" @if(in_array( 'FactorTrust PO Box 3653,Alpharhetta, GA 30023',$model->univ_dest )) selected="selected" @endif>FactorTrust PO Box 3653,Alpharhetta, GA 30023</option>
</optgroup>
<optgroup label="DATA FURNISHERS">
<option value="" >DATA FURNISHERS</option>
</optgroup>
<optgroup label="OTHER">
<option value="1" >Other</option>
</optgroup>
</select>
</div>
<div class=" form-group " id="univ-df" style="display: none;">
<div class="form-group">
<label>Data Furnishers</label>
<select name="destination[]" class="form-control select-df" id="select-df" >
</select>
</div>
</div>
<div class=" form-group univ-other" id="univ-other" style="display: none;">
<div>
<input type="text" name="destination[]" class="form-control" placeholder="OTHER" style="width: 93%">
<span class="glyphicon glyphicon-plus btn-univ-add-other" title="Add Other"></span>
<span class="glyphicon glyphicon-minus btn-univ-remove-other" title="Remove Other"></span>
</div>
</div>
</div>
<div class="col-md-6 ">
<div class="form-group">
<label class="check-btn" style="font-size:14px;color:red;"><input type="checkbox" name="exclude_all" value="1" id="exclude-all" onchange="excludeall()">&nbsp;<strong>Exclude All Content Boxes</strong><span class="cr"></span></label>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript">
var item_count = 0;
var image_count = 1;
</script>
<div class="col-md-12 col-sm-12 col-xs-12 " >
<div class="x_panel">
<div class="x_content">
<div id="content-area">
@foreach ($model->form_data as $key => $obj)
<div class="col-md-12 main-content" id="main-content-{{$key}}">
<fieldset class="add-nother" >
<legend class="add-nother">
Content Box Work Area &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="glyphicon glyphicon-play-circle video-icon" title="Need Help" onclick="alert('Vidoes coming soon!')"></span><br>
<span class="fa-stack fa-lg" style="font-size:16px;font-weight: 500;">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa-stack-1x fa-inverse">{{($key+1)}}</i>
</span>
</legend>
<div class="col-md-9">
<div class="row">
<div class="col-md-4" style="overflow: hidden;">
<div class="form-group file-txt">
<label>ADD IMAGE </label>
<input type="file" name="info_item[file][]" class="" id="content_file_{{$key}}">
</div>
<div class="col-md-1" style="margin-top: 5px;padding-left: 0px;">
<label ><a onclick="removeContentImage({{$key}})" style="padding: 1px 6px;" class="btn btn-danger" title="Clear attached file"><i class="fa fa-minus"></i></a></label>
</div>
</div>
<div class="col-md-8">
<div class="form-group" style="clear: both;" >
<label>DEROGATORY Decisions</label>
<select name="info_item[wave][]" id="wave-{{$key}}" class="form-control" onchange="showDtype(this,{{$key}})" required="">
<option value="">Please select template</option>
@if(Auth::user()->can('Wave1'))
<option value="w1" @if($obj['wave']=='w1') selected="selected" @endif >
I want to use a Wave 1 attack for this content box's items ( Day 1-19)</option>
@endif
@if(Auth::user()->can('Wave2'))
<option value="w2" disabled="disabled" @if($obj['wave']=='w2') selected="selected" @endif >I want to use a Wave 2 attack for this content box's items (Day 20-39)</option>
@endif
@if(Auth::user()->can('Wave3'))
<option value="w3" disabled="disabled" @if($obj['wave']=='w3') selected="selected" @endif>I want to use a Wave 3 attack for this content box's items (Day 40-59)</option>
@endif
@if(Auth::user()->can('Wave4'))
<option value="w4" disabled="disabled" @if($obj['wave']=='w4') selected="selected" @endif>I want to use a Wave 4 attack for this content box's items (Day 60-79)</option>
@endif
@if(Auth::user()->can('Wave5'))
<option value="w5" disabled="disabled" @if($obj['wave']=='w5') selected="selected" @endif>I want to use a Wave 5 attack for this content box's items (Day 80-99)</option>
@endif
@if(Auth::user()->can('Wave6'))
<option value="w6" disabled="disabled" @if($obj['wave']=='w6') selected="selected" @endif>I want to use a Wave 6+ attack for this content box's items (Day 100-119)</option>
@endif
@if(Auth::user()->can('Wave7'))
<option value="w7" disabled="disabled" @if($obj['wave']=='w7') selected="selected" @endif>I want to use a RANDOM WAVE # Attack for this content box's item (Day ??)</option>
@endif
</select>
</div>
<div class="form-group" style="clear: both" id="div-dtype-{{$key}}">
<label>Type of Reported Issues</label>
<select name="info_item[letter_type][]" id="dtype-{{$key}}" class="form-control" onchange="showTemplate(this,{{$key}})" required="">
<option value="">Please select template</option>
<option value="1" @if($obj['letter_type']=='1') selected="selected" @endif>Personal Identifier Information</option>
<option value="2" @if($obj['letter_type']=='2') selected="selected" @endif>INQUIRY(ies) information</option>
<option value="3" @if($obj['letter_type']=='3') selected="selected" @endif>LATE PAYMENT (not Student Loan) Information</option>
<option value="4" @if($obj['letter_type']=='4') selected="selected" @endif>STUDENT LOAN LATE PAYMENT Information</option>
<option value="5" @if($obj['letter_type']=='5') selected="selected" @endif>Regular Non-Medical Collection Information</option>
<option value="6" @if($obj['letter_type']=='6') selected="selected" @endif>Medical Collection Information</option>
<option value="7" @if($obj['letter_type']=='7') selected="selected" @endif>CHARGE OFF Information</option>
<option value="8" @if($obj['letter_type']=='8') selected="selected" @endif>REPOSSESSION Information</option>
<option value="9" @if($obj['letter_type']=='9') selected="selected" @endif>PUBLIC RECORDS Information</option>
<option value="10" @if($obj['letter_type']=='10') selected="selected" @endif>GENERAL DELINQUENT , DEROGATORY, or QUESTIONABLY REPORTED Information</option>
</select>
</div>
<div class="form-group" style="clear: both;" id="template-{{$key}}">
<label>TEMPLATE LETTER FOR BUREAU</label>
<select name="info_item[template][]" id="lt_template-{{$key}}" class="form-control" required="">
<option value="">Please select template</option>
@if($obj['letter_type']=='1')
<option value="PI-Ew1L1D1-bureau_1" @if($obj['template']=='PI-Ew1L1D1-bureau_1') selected="selected" @endif>&nbsp;For Bureaus use Ew1L1D1 bureaus General Item Attack for Bureau on Questionable Items</option>
@elseif($obj['letter_type']=='2')
<option value="INQ-Ew1L2D1-bureau_2" @if($obj['template']=='INQ-Ew1L2D1-bureau_2') selected="selected" @endif>&nbsp;For Bureaus use Ew1L2D1 bureaus Inquiry(ies)</option>
@elseif($obj['letter_type']=='3')
<optgroup label="If ONLY 1 or 2 Lates reported in last 4 years">
<option value="NLP12-Ew1L1D1-bureau_1" @if($obj['template']=='NLP12-Ew1L1D1-bureau_1') selected="selected" @endif >&nbsp;&nbsp;For Bureaus use Ew1L1D1 bureaus General Item Attack for Bureau on Questionable Items</option>
</optgroup>
<optgroup label="If 3+ Lates reported in last 4 years">
<option value="NLP3-Ew1LPRD1-bureau_17" @if($obj['template']=='NLP3-Ew1LPRD1-bureau_17') selected="selected" @endif title="For Bureaus use Ew1LPRD1 BureausORcredittors for accounts with AT LEAST(3+) Late Payments in last 4 years(48 months) with GOAL of REMOVAL FROM REPORTING (but would be HAPPY with PAANL or PAANLPR status)">&nbsp;&nbsp;For Bureaus use Ew1LPRD1 BureausORcredittors for accounts with AT LEAST(3+) Late Payments in last 4 years(48 months) with GOAL of REMOVAL FROM REPORTING (but would be HAPPY with PAANL or PAANLPR status)</option>
</optgroup>
@elseif($obj['letter_type']=='4')
<optgroup label="If a Student Loan with ONLY 1 or 2 Late Payments (that you WANT TO TRY FOR PAANL STATUS) reported in last 4 years">
<option value="SL12-Ew1L9D1-bureau_9" @if($obj['template']=='SL12-Ew1L9D1-bureau_9') selected="selected" @endif>&nbsp;&nbsp;For Bureaus use Ew1L9D1 for PAANL STUDENT LOAN</option>
</optgroup>
<optgroup label="If a Student Loan with 3+ Late Payments (That you WANT to attempt REMOVAL of REPORTING) reported in last 4 years">
<option value="SL3-Ew1L11D1-bureau_11" @if($obj['template']=='SL3-Ew1L11D1-bureau_11') selected="selected" @endif>&nbsp;&nbsp;For Bureaus use Ew1L11D1 bureau for STUDENT LOAN DELETION</option>
</optgroup>
@elseif($obj['letter_type']=='5')
<option value="NMCOL-Ew1L5D1-bureau_5" @if($obj['template']=='NMCOL-Ew1L5D1-bureau_5') selected="selected" @endif>&nbsp;For Bureaus use Ew1L5D1 bureau for Non-Medical Collection</option>
@elseif($obj['letter_type']=='6')
<option value="MCOL-Ew1L7D1-bureau_7" @if($obj['template']=='MCOL-Ew1L7D1-bureau_7') selected="selected" @endif>&nbsp;For Bureaus use Ew1L7D1 bureau for Medical Collections</option>
@elseif($obj['letter_type']=='7')
<option value="COFF-Ew1L4D1-bureau_4" @if($obj['template']=='COFF-Ew1L4D1-bureau_4') selected="selected" @endif>&nbsp;For Bureaus use Ew1L4D1 bureau for CHARGE OFFS</option>
@elseif($obj['letter_type']=='8')
<option value="REPO-Ew1L4D1-bureau_4" @if($obj['template']=='REPO-Ew1L4D1-bureau_4') selected="selected" @endif>&nbsp;For Bureaus use Ew1L14D1 bureau for REPOSSESSIONS</option>
@elseif($obj['letter_type']=='9')
<option value="PR-Ew1L15D1-bureau_15" @if($obj['template']=='PR-Ew1L15D1-bureau_15') selected="selected" @endif>&nbsp;For Bureaus use Ew1L15D1 bureau for PUBLIC RECORDS</option>
<option value="PR-Ew1L1D1-df-creditor_1" @if($obj['template']=='PR-Ew1L1D1-df-creditor_1') selected="selected" @endif>&nbsp;For Data Furnisher Creditor or Collector use Ew1L1D1 bureaus General Item Attack for Bureau on Questionable Items</option>
@elseif($obj['letter_type']=='10')
<option value="AUDIT-Ew1L1D1-audit_40" @if($obj['template']=='AUDIT-Ew1L1D1-audit_40') selected="selected" @endif>&nbsp;AUDIT ANALYSIS DOCUMENT</option>
<option value="GEN-Ew1L1D1-bureau_1" @if($obj['template']=='GEN-Ew1L1D1-bureau_1') selected="selected" @endif>&nbsp;For Bureaus use Ew1L1D1 bureaus General Item Attack for Bureau on Questionable Items</option>
@endif
</select>
</div>
<div class="form-group" style="clear: both;" id="template-df-{{$key}}" >
<label>TEMPLATE LETTER FOR DATA FURNISHER/CREDITOR</label>
<select name="info_item[template_df][]" id="lt_template_df-{{$key}}" class="form-control" >
<option value="">Please select template</option>
@if($obj['letter_type']=='1')
<option value="PI-Ew1L1D1-df-creditor_1" @if($obj['template_df']=='PI-Ew1L1D1-df-creditor_1') selected="selected" @endif >&nbsp;For Data Furnisher Creditor or Collector use Ew1L1D1 bureaus General Item Attack for Bureau on Questionable Items</option>
@elseif($obj['letter_type']=='2')
<option value="INQ-Ew1L2D1-bureau_2" @if($obj['template_df']=='INQ-Ew1L2D1-bureau_2') selected="selected" @endif>&nbsp; For Data Furnisher or Creditor use Ew1L2D1 bureaus Inquiry(ies)</option>
@elseif($obj['letter_type']=='3')
<optgroup label="If ONLY 1 or 2 Lates reported in last 4 years">
<option value="NLP12-Ew1L1D1-df-creditor_1" @if($obj['template_df']=='NLP12-Ew1L1D1-df-creditor_1') selected="selected" @endif>&nbsp;&nbsp;For Data Furnisher Creditor or Collector use Ew1L1D1 bureaus General Item Attack for Bureau on Questionable Items</option>
</optgroup>
<optgroup label="If 3+ Lates reported in last 4 years">
<option value="NLP3-Ew1LPRx1D1-df-creditor_17" @if($obj['template_df']=='NLP3-Ew1LPRx1D1-df-creditor_17') selected="selected" @endif title="For Data Furnisher Creditor or Collector use Ew1LPRx1D1 BureausORcredittors also for accounts with AT LEAST THREE(3+) Late Payments in last 4 years(48 months) with GOAL of REMOVAL FROM REPORTING (but would be HAPPY with PAANL or PAANLPR status)">&nbsp;&nbsp;For Data Furnisher Creditor or Collector use Ew1LPRx1D1 BureausORcredittors also for accounts with AT LEAST THREE(3+) Late Payments in last 4 years(48 months) with GOAL of REMOVAL FROM REPORTING (but would be HAPPY with PAANL or PAANLPR status)</option>
</optgroup>
@elseif($obj['letter_type']=='4')
<optgroup label="If a Student Loan with ONLY 1 or 2 Late Payments (that you WANT TO TRY FOR PAANL STATUS) reported in last 4 years">
<option value="SL12-Ew1L10D1-df-creditor_10" @if($obj['template_df']=='SL12-Ew1L10D1-df-creditor_10') selected="selected" @endif >&nbsp;&nbsp;For Data Furnisher Creditor or Collector use Ew1L10D1 Data Furnisher creditor for PAANL STUDENT LOANS</option>
</optgroup>
<optgroup label="If a Student Loan with 3+ Late Payments (That you WANT to attempt REMOVAL of REPORTING) reported in last 4 years">
<option value="SL3-Ew1L12D1-df-creditors_12" @if($obj['template_df']=='SL3-Ew1L12D1-df-creditors_12') selected="selected" @endif>&nbsp;&nbsp;For Data Furnisher Creditor or Collector use Ew1L12D1 Data Furnisher creditor for STUDENT LOAN DELETION</option>
</optgroup>
@elseif($obj['letter_type']=='5')
<option value="NMCOL-Ew1L6D1-df-creditor_6" @if($obj['template_df']=='NMCOL-Ew1L6D1-df-creditor_6') selected="selected" @endif>&nbsp;or Data Furnisher Creditor or Collector use Ew1L6D1 Data Furnisher creditor for non-MEDICAL Collections</option>
@elseif($obj['letter_type']=='6')
<option value="MCOL-Ew1L8D1-df-creditor_8" @if($obj['template_df']=='MCOL-Ew1L8D1-df-creditor_8') selected="selected" @endif>&nbsp;For Data Furnisher Creditor or Collector use Ew1L8D1 Data Furnisher creditor for MEDICAL Collections</option>
@elseif($obj['letter_type']=='7')
<option value="COFF-Ew1L3D1-df-creditor_3" @if($obj['template_df']=='COFF-Ew1L3D1-df-creditor_3') selected="selected" @endif>&nbsp;For Data Furnisher Creditor or Collector use Ew1L3D1 Data Furnisher creditor for CHARGE OFF</option>
@elseif($obj['letter_type']=='8')
<option value="REPO-Ew1L3D1-df-creditor_3" @if($obj['template_df']=='REPO-Ew1L3D1-df-creditor_3') selected="selected" @endif>&nbsp;For Data Furnisher Creditor or Collector use Ew1L13D1 Data Furnisher creditor for REPOSSESSION</option>
@elseif($obj['letter_type']=='9')
<option value="PR-Ew1L1D1-df-creditor_1" @if($obj['template_df']=='PR-Ew1L1D1-df-creditor_1') selected="selected" @endif>&nbsp;For Data Furnisher Creditor or Collector use Ew1L1D1 bureaus General Item Attack for Bureau on Questionable Items</option>
<option value="PR-Ew1L16D1-df-creditor_16" @if($obj['template_df']=='PR-Ew1L16D1-df-creditor_16') selected="selected" @endif>&nbsp;For Data Furnisher Creditor or Collector use Ew1L16D1 Data Furnisher creditor collectors courts for PUBLIC RECORDS</option>
@elseif($obj['letter_type']=='10')
<option value="GEN-Ew1L1D1-df-creditor_1" @if($obj['template_df']=='GEN-Ew1L1D1-df-creditor_1') selected="selected" @endif>&nbsp;For Data Furnisher Creditor or Collector use Ew1L1D1 bureaus General Item Attack for Bureau on Questionable Items</option>
@endif
</select>
</div>
</div>
<div class="col-md-12">
<div class="goto_report_div" ><label>Go to Report &rarr;</label>&nbsp;&nbsp;
<a href="#view-html"><span class="glyphicon glyphicon-info-sign icon-goto-report" title="Personal Information"></span></a>
<a href="#Summary"><span class="glyphicon glyphicon glyphicon-open-file icon-goto-report" title="Summary Information"></span></a>
<a href="#AccountHistory"><span class="glyphicon glyphicon glyphicon-list-alt icon-goto-report" title="AccountHistory Information"></span></a>
<a href="#Inquiries"><span class="glyphicon glyphicon glyphicon-question-sign icon-goto-report" title="Inquiries Information"></span></a>
<a href="#PublicInformation"><span class="glyphicon glyphicon-globe icon-goto-report" title="Public Information"></span></a>
<a href="#CreditorContacts"><span class="glyphicon glyphicon-user icon-goto-report" title="Creditor Contacts Information"></span></a>
<a href="#main-content-{{$key}}" style="float:right;" ><span class="glyphicon glyphicon-circle-arrow-up icon-goto-report" title="Go To Previous Content Box"></span></a>
<a href="#lg-form" title="Go To Top of Page" style="float: right;"><label style="font-weight: bold;font-size: 16px"> &nbsp;&nbsp;TOP &uarr;</label></a>
<a href="#div-img-bottom" title="Go To Generate Button" style="float: right;"><label style="font-weight: bold;font-size: 16px"> &nbsp;&nbsp;GENERATE &darr;</label></a>
</div>
<div class="form-group">
<textarea class="form-control " id="summernote-{{$key}}" name="info_item[content][]" rows="13" placeholder="" required>{!! $obj['content'] !!}</textarea>
<span class="glyphicon glyphicon-menu-hamburger btn-add-line-break" title="Add Line Break" onclick="addLineBreak(0)"></span>
<span class="glyphicon glyphicon-plus btn-add-content" title="Add Cleared Content" onclick="undoClearContent({{$key}})"></span>
<span class="glyphicon glyphicon-remove btn-remove-content" title="Clear Content Box" id="btn-remove-content" onclick="clearContent({{$key}})"></span>
</div>
</div>
</div>
</div>
<div class="col-md-3 pull-right div-item-dest">
<div class="tbg" ><label>CONTENT DESTINATION(s) </label>
<span class="glyphicon glyphicon-chevron-down pull-right gly-dest" id="toggle-dest-{{$key}}" onclick="toggleDest({{$key}})" title="Show" data-toggle="collapse" href="#dest-side-{{$key}}"></span>
</div>
<div id="dest-side-{{$key}}" class="collapse">
<label class="lbl-dest check-btn" style="font-size:14px">
<input type="checkbox" name="all" value="Select All Destinations" id="check-all-{{$key}}" onchange="checkall({{$key}})" />&nbsp;<strong>Select All Destinations</strong><span class="cr"></span></label>
<hr style="2px 0 5px">
<label class="lbl-dest check-btn">
<input type="checkbox" name="info_item[dest][{{$key}}][]" value="" class="check-df" onchange="showDf(event,0)" />&nbsp;Data Furnisher<span class="cr"></span></label>
<select name="info_item[dest][{{$key}}][]" class="form-control select-df" id="select-df-0" style="display: none;">
</select>
<input type="hidden" name="df-value" value="{{$obj['dest_df']}}">
<label class="lbl-dest check-btn">
<input type="checkbox" name="info_item[dest][{{$key}}][]" value="EXPERIAN PO BOX 9701, ALLEN, TX 75013" class="check-exp1" @if(in_array( 'EXPERIAN PO BOX 9701, ALLEN, TX 75013',$obj[ 'dest'] )) checked="checked" @endif />&nbsp;EXPERIAN PO BOX 9701, ALLEN, TX 75013<span class="cr"></span></label>
<label class="lbl-dest check-btn">
<input type="checkbox" name="info_item[dest][{{$key}}][]" value="EXPERIAN PO BOX 4500, ALLEN, TX 75013" class="check-exp2" @if(in_array( 'EXPERIAN PO BOX 4500, ALLEN, TX 75013',$obj[ 'dest'] )) checked="checked" @endif />&nbsp;EXPERIAN PO BOX 4500, ALLEN, TX 75013<span class="cr"></span></label>
<label class="lbl-dest check-btn">
<input type="checkbox" name="info_item[dest][{{$key}}][]" value="EQUIFAX PO Box740256, ATLANTA,GA 30374-0256" class="check-equ1" @if(in_array( 'EQUIFAX PO Box740256, ATLANTA,GA 30374-0256',$obj[ 'dest'] )) checked="checked" @endif />&nbsp;EQUIFAX PO Box740256, ATLANTA,GA 30374-0256<span class="cr"></span></label>
<label class="lbl-dest check-btn">
<input type="checkbox" name="info_item[dest][{{$key}}][]" value="EQUIFAX PO Box740241, ATLANTA,GA 30374-0241" class="check-equ2" @if(in_array( 'EQUIFAX PO Box740241, ATLANTA,GA 30374-0241',$obj[ 'dest'] )) checked="checked" @endif />&nbsp;EQUIFAX PO Box740241, ATLANTA,GA 30374-0241<span class="cr"></span></label>
<label class="lbl-dest check-btn">
<input type="checkbox" name="info_item[dest][{{$key}}][]" value="Trans Union PO Box 2000, CHESTER, PA 19016-2000" class="check-tra1" @if(in_array( 'Trans Union PO Box 2000, CHESTER, PA 19016-2000',$obj[ 'dest'] )) checked="checked" @endif />&nbsp;Trans Union PO Box 2000, CHESTER, PA 19016-2000<span class="cr"></span></label>
<label class="lbl-dest check-btn">
<input type="checkbox" name="info_item[dest][{{$key}}][]" value="Trans Union PO Box 1000, CHESTER, PA 19022-1000" class="check-tra2" @if(in_array( 'Trans Union PO Box 1000, CHESTER, PA 19022-1000',$obj[ 'dest'] )) checked="checked" @endif />&nbsp;Trans Union PO Box 1000, CHESTER, PA 19022-1000<span class="cr"></span></label>
<label class="lbl-dest check-btn">
<input type="checkbox" name="info_item[dest][{{$key}}][]" value="Trans Union PO Box 2000, CHESTER, PA 19022-2000" class="check-tra3" @if(in_array( 'Trans Union PO Box 2000, CHESTER, PA 19022-2000',$obj[ 'dest'] )) checked="checked" @endif />&nbsp;Trans Union PO Box 2000, CHESTER, PA 19022-2000<span class="cr"></span></label>
<label class="lbl-dest check-btn">
<input type="checkbox" name="info_item[dest][{{$key}}][]" value="INNOVIS PO Box 1640, Pittsburgh, PA 15230-1640" class="check-ino1" @if(in_array( 'INNOVIS PO Box 1640, Pittsburgh, PA 15230-1640',$obj[ 'dest'] )) checked="checked" @endif />&nbsp;INNOVIS PO Box 1640, Pittsburgh, PA 15230-1640<span class="cr"></span></label>
<label class="lbl-dest check-btn">
<input type="checkbox" name="info_item[dest][{{$key}}][]" value="Innovis Consumer Assistance PO Box 530088, Atlanta, GA 30353-0088" class="check-ino2" @if(in_array( 'Innovis Consumer Assistance PO Box 530088, Atlanta, GA 30353-0088',$obj[ 'dest'] )) checked="checked" @endif />&nbsp;Innovis Consumer Assistance PO Box 530088, Atlanta, GA 30353-0088<span class="cr"></span></label>
<label class="lbl-dest check-btn">
<input type="checkbox" name="info_item[dest][{{$key}}][]" value="LexisNexis PO Box 105108, Atlanta, GA 30348" class="check-lex1" @if(in_array( 'LexisNexis PO Box 105108, Atlanta, GA 30348',$obj[ 'dest'] )) checked="checked" @endif/>&nbsp;LexisNexis PO Box 105108, Atlanta, GA 30348<span class="cr"></span></label>
<label class="lbl-dest check-btn">
<input type="checkbox" name="info_item[dest][{{$key}}][]" value="SageStream, LLC, LexisNexis Risk Solutions Consumer Center P. O. Box 105108. Atlanta, Georgia 30348-5108" class="check-sag1" @if(in_array( 'SageStream, LLC, LexisNexis Risk Solutions Consumer Center P. O. Box 105108. Atlanta, Georgia 30348-5108',$obj[ 'dest'] )) checked="checked" @endif />&nbsp;SageStream, LLC, LexisNexis Risk Solutions Consumer Center P. O. Box 105108. Atlanta, Georgia 30348-5108<span class="cr"></span></label>
<label class="lbl-dest check-btn">
<input type="checkbox" name="info_item[dest][{{$key}}][]" value="Chex Systems ATTN: Consumer Relations, 7805 Hudson Rd., Ste. 100, Woodbury, MN 55125" class="check-chex1" @if(in_array( 'Chex Systems ATTN: Consumer Relations, 7805 Hudson Rd., Ste. 100, Woodbury, MN 55125',$obj[ 'dest'] )) checked="checked" @endif />&nbsp;Chex Systems ATTN: Consumer Relations, 7805 Hudson Rd., Ste. 100, Woodbury, MN 55125<span class="cr"></span></label>
<label class="lbl-dest check-btn">
<input type="checkbox" name="info_item[dest][{{$key}}][]" value="(US RESIDENTS) MIB Inc 50 Braintree Hill Park, Suite 400, Braintree, MA 02184-8734" class="check-mib1" @if(in_array( '(US RESIDENTS) MIB Inc 50 Braintree Hill Park, Suite 400, Braintree, MA 02184-8734',$obj[ 'dest'] )) checked="checked" @endif />&nbsp;(US RESIDENTS) MIB Inc 50 Braintree Hill Park, Suite 400, Braintree, MA 02184-8734<span class="cr"></span></label>
<label class="lbl-dest check-btn">
<input type="checkbox" name="info_item[dest][{{$key}}][]" value="(CANADIAN RESIDENTS) MIB Inc 330 university Avenue, Suite 501, Toronto, Canada M5G 1R7" class="check-mib2" @if(in_array( '(CANADIAN RESIDENTS) MIB Inc 330 university Avenue, Suite 501, Toronto, Canada M5G 1R7',$obj[ 'dest'] )) checked="checked" @endif />&nbsp;(CANADIAN RESIDENTS) MIB Inc 330 university Avenue, Suite 501, Toronto, Canada M5G 1R7<span class="cr"></span></label>
<label class="lbl-dest check-btn">
<input type="checkbox" name="info_item[dest][{{$key}}][]" value="FactorTrust PO Box 3653,Alpharhetta, GA 30023" class="check-fact1" @if(in_array( 'FactorTrust PO Box 3653,Alpharhetta, GA 30023',$obj[ 'dest'] )) checked="checked" @endif />&nbsp;FactorTrust PO Box 3653,Alpharhetta, GA 30023<span class="cr"></span></label>
<label class="lbl-dest check-btn">
<input type="checkbox" name="info_item[dest][{{$key}}][]" value="" class="check-aa" />&nbsp;Audit Analysis<span class="cr"></span></label>
<input type="text" name="info_item[dest][{{$key}}][]" class="form-control" placeholder="OTHER" style="width: 96%" id="other-text-0">
<span class="glyphicon glyphicon-plus btn-add-other" title="Add Other"></span>
</div>
</div>
<div class="col-md-12 text-center" style="clear: both;">
<button class="btn btn-success btn2" onclick="addContent()" type="button"><span class="glyphicon glyphicon-plus" title="add"></span>Add Another Content</button>
</div>
</fieldset>
</div>
<script type="text/javascript">
item_count = {{$key}};
</script>
<div class="btn-top-html" style="display: none;">
<a href="#main-content-{{$key}}" id="btn-arrow-up-{{$key}}"><span class="fa-stack fa-lg" style="font-size:16px;font-weight: 500;" title="Go To Content Area {{$key+1}}"><i class="fa fa-circle fa-stack-2x"></i><i class="fa-stack-1x fa-inverse">{{$key+1}}</i></span></a>
</div>
@endforeach
</div>
<div id="img-container">
<div class="col-md-12 text-center" id="div-img-bottom" style="display: none;">
<input type="hidden" name="identity_proof_file" value="" id="identity_proof_file1">
<input type="hidden" name="ssn_proof_file" value="" id="ssn_proof_file1">
<input type="hidden" name="address_proof_file" value="" id="address_proof_file1">
<input type="hidden" name="other_file" value="" id="other_file1">
<p>Current Images</p>
<div class="col-md-1 col-md-offset-2 ">
<label class="check-btn"><input type="checkbox" name="include_bureau_image" value="1" checked="checked">&nbsp;Bureaus<span class="cr" title="Add Images to Bureau Letters"></span></label>
</div>
<div class="col-md-6">
<p >PHOTO IDENTIFICATION :<label id="identity_proof_file" class="span-file">..........</label><br>SSN PROOF :<label id="ssn_proof_file" class="span-file">..........</label><br>ADDRESS PROOF :<label id="address_proof_file" class="span-file">..........</label><br>OTHER FILE :<label id="other_file" class="span-file">...........</label> </p>
</div>
<div class="col-md-3 text-left">
<label class="check-btn"><input type="checkbox" name="include_creditor_image" value="1" >&nbsp;Creditors<span class="cr" title="Add Images to Creditors Letter"></span></label>
</div>
</div>
<div class="col-md-12">
<label class="col-md-12" style="text-align:center;">Add Image Here for Proof: Example: SS, Proof ID, Current Bill ect. Must be PNG or JPEG</label>
</div>
<div class="col-md-12 img-content" id="img-content-1">
<div class="col-md-offset-3 col-md-6">
<input type="file" name="img_bottom[]" class="form-control no-bdr"></div>
<div class="col-md-1" style="margin-top: 5px;margin-right: 20px"><label id="label1"><a onclick="addImage()" id="add-image-btn" style="padding: 1px 6px;" class="btn btn-success"><i class="fa fa-plus"></i></a></label>
<label id="label1"><a onclick="removeImage(1)" id="remove" style="padding: 1px 6px;" class="btn btn-danger"><i class="fa fa-minus"></i></a></label>
</div>
</div>
</div>
<div class="row text-center" style="margin-top: 20px;">
@if(Auth::user()->can('Generate-letters') && $not_expired)
<input type="submit" name="save" value="Generate Document" id="generate-pdf" class="btn btn-success btn2">
<div id="client-loader2" style="display: none;" >
<img src="{{ asset('public/images/ajax-loader.gif') }}"> <span>&nbsp;&nbsp;&nbsp;Please wait Generating Letters</span>
</div>
@else
<input type="button" name="save" value="Generate Document" id="generate-pdf" class="btn btn-success btn2" onclick="alert('Access to generate and or save your above-created documents is currently unavailable, please purchase a subscription to gain immediate access without losing your work.');">
@endif
</div>
</div>
</div>
</div>
</div>
</form>
</div>
<div class="row" style="clear: both;">
<div class="view-html" id="view-html">
</div>
</div>
<div class="row" style="clear: both;" id="top-btn">
<!-- <a href="#" onclick="topFunction()" ><span class="glyphicon glyphicon-circle-arrow-up arrow-up-content" title="Go To Top"></span></a><br> -->
<div id="btn-up-0" style="text-align:right">
<a href="#main-content-0" ><span class="glyphicon glyphicon-circle-arrow-up arrow-up-content" title="Go To Content Area 1"></span></a>
<div id="btn-up-1" style="display: none;">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
@section('scripts')
<script src="{{ asset('public/js/select2.full.min.js') }}"></script>
<script src="{{ asset('public/js/summernote/summernote.min.js') }}"></script>
<script src="{{ asset('public/js/bootstrap-multiselect.js') }}"></script>
<script src="{{ asset('public/js/datepicker.js') }}"></script>
<script src="{{ asset('public/js/evlg-page.min.js?1.20') }}"></script>
<script type="text/javascript">
$(document).ready(function() {
$('.main-content').each(function(i){
if(i==0) return true;//skip for first iteration its already initialized.
init_summernote(i);
});
getClientEdit();
});
</script>
@endsection
@endsection