Produced by Araxis Merge on 6/9/2017 3:51:39 PM Eastern Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | Fri Jun 9 19:51:39 2017 UTC | ||
| 2 | eHealth_Exch (eHealth Exchange Enhancements) Build 3 docs & code_May_2017.zip\VAP_CIF_CODE0502.zip\VAP_CIF_CODE0502\VAP_CIF_CODE0502\nvap-web\src\main\webapp\WEB-INF\web | batchManagerQuery.jsp | Fri Apr 21 20:15:58 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 0 | 0 |
| Changed | 0 | 0 |
| Inserted | 1 | 189 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | <%-- | |||||
| 2 | Docume nt : Pat ient Disco very Repor t | |||||
| 3 | Create d By : Dav id Vasquez / Robert Snelling | |||||
| 4 | Modifi ed By: Ash a Amritraj | |||||
| 5 | --%> | |||||
| 6 | <%@taglib tagdir="/W EB-INF/tag s/formatti ng" prefix ="f" %> | |||||
| 7 | <%@taglib uri="http: //java.sun .com/jsp/j stl/core" prefix="c" %> | |||||
| 8 | <%@taglib tagdir="/W EB-INF/tag s/date" pr efix="date "%> | |||||
| 9 | <%@taglib tagdir="/W EB-INF/tag s/cpp" pre fix="cpp"% > | |||||
| 10 | ||||||
| 11 | <f:mainTem plate head erText="Ma nage Batch es"> | |||||
| 12 | <scrip t language ="JavaScri pt"> | |||||
| 13 | $( document). ready(func tion () { | |||||
| 14 | //initia l data tab le setup a nd call fo r the firs t recordse t | |||||
| 15 | $.fn.dat aTable.ext .errMode = 'none'; | |||||
| 16 | ||||||
| 17 | setProce ssingForDa taTable('t blReport') ; | |||||
| 18 | ||||||
| 19 | var repo rtTable = $('#tblRep ort').Data Table({ | |||||
| 20 | dest roy: true, | |||||
| 21 | sear ching: fal se, | |||||
| 22 | proc essing: tr ue, | |||||
| 23 | serv erSide: tr ue, | |||||
| 24 | orde r: [[2, 'd esc']], | |||||
| 25 | colu mnDefs: [ | |||||
| 26 | {orderable : false, t argets: [0 ,1,2,3,4,5 ,6]}, | |||||
| 27 | {className : "dt-head -center", targets: [ 1,2]}, | |||||
| 28 | {className : "dt-body -center dt -head-cent er", targe ts: [0,6]} , | |||||
| 29 | {className : "dt-body -right dt- head-cente r", target s: [3,4,5] } | |||||
| 30 | ], | |||||
| 31 | ajax : "BatchMa nagerQuery .do_sec?do Search=tru e", | |||||
| 32 | lang uage: { | |||||
| 33 | emptyTable : "No reco rds found" , | |||||
| 34 | loadingRec ords: "" | |||||
| 35 | }, | |||||
| 36 | scro llX:true, | |||||
| 37 | init Complete: function() { | |||||
| 38 | // Enable THEAD scro ll bars | |||||
| 39 | $('.dataTa bles_scrol lHead').cs s('overflo w', 'auto' ); | |||||
| 40 | ||||||
| 41 | // Sync TH EAD scroll ing with T BODY | |||||
| 42 | $('.dataTa bles_scrol lHead').on ('scroll', function () { | |||||
| 43 | $('.da taTables_s crollBody' ).scrollLe ft($(this) .scrollLef t()); | |||||
| 44 | }); | |||||
| 45 | }, | |||||
| 46 | leng thMenu: [ 10, 25, 50 , 100, 250 , 500 ], | |||||
| 47 | page Length: 25 | |||||
| 48 | }); | |||||
| 49 | ||||||
| 50 | reportTa ble.on('dr aw', funct ion () { | |||||
| 51 | addA riaToDataT able('tblR eport', re portTable) ; | |||||
| 52 | }); | |||||
| 53 | ||||||
| 54 | $("#mast er").chang e(function (){ | |||||
| 55 | var status = $ (this).is( ":checked" ) ? true : false; | |||||
| 56 | $(". chk").prop ("checked" ,status); | |||||
| 57 | }); | |||||
| 58 | ||||||
| 59 | $("#star tDate").da tepicker({ | |||||
| 60 | maxD ate: 0, | |||||
| 61 | date Format: 'm m/dd/yy', | |||||
| 62 | onCl ose: funct ion (selec tedDate) { | |||||
| 63 | $("#endDat e").datepi cker("opti on", "minD ate", sele ctedDate); | |||||
| 64 | } | |||||
| 65 | }); | |||||
| 66 | ||||||
| 67 | $("#endD ate").date picker({ | |||||
| 68 | maxD ate: 0, | |||||
| 69 | date Format: 'm m/dd/yy', | |||||
| 70 | onCl ose: funct ion (selec tedDate) { | |||||
| 71 | $("#startD ate").date picker("op tion", "ma xDate", se lectedDate ); | |||||
| 72 | } | |||||
| 73 | }); | |||||
| 74 | ||||||
| 75 | //when t he search button is pressed th is functio n is used | |||||
| 76 | $('#btnS earch').on ('click', function ( ) { | |||||
| 77 | var remoteOrga nization = $('#remot eOrganizat ion').val( ); | |||||
| 78 | var startDate = $('#star tDate').va l(); | |||||
| 79 | var endDate = $('#endDat e').val(); | |||||
| 80 | ||||||
| 81 | var errorMessa ge = valid ateStartAn dEndDate(s tartDate, endDate); | |||||
| 82 | ||||||
| 83 | if ( errorMessa ge != '') | |||||
| 84 | { | |||||
| 85 | //we have an error s o show the error, an d then don 't send th e ajax req uest | |||||
| 86 | $('#errorM essage').h tml(errorM essage); | |||||
| 87 | $('#errorM essage').s how(); | |||||
| 88 | ||||||
| 89 | return fal se; | |||||
| 90 | } el se { | |||||
| 91 | //no error , let's ma ke the cal l to popul ate the re port | |||||
| 92 | reportTabl e.ajax.url ("BatchMan agerQuery. do_sec?doS earch=true &remoteOrg anization= " + remote Organizati on + "&sta rtDate=" + startDate + "&endDa te=" + end Date).load (); | |||||
| 93 | } | |||||
| 94 | }); | |||||
| 95 | ||||||
| 96 | $('#star tDate,#end Date').on( 'change', function ( ) { | |||||
| 97 | //if either da te changes , hide the error mes sage if it s not alre ady hidden | |||||
| 98 | $('# errorMessa ge').hide( ); | |||||
| 99 | }); | |||||
| 100 | ||||||
| 101 | $(docume nt).on('cl ick', '.ba tchDetail' , function (event) { | |||||
| 102 | var url = 'Bat chManagerQ uery.do_se c?getDetai lView=true &batchId=' + $(this) .data("bat ch-id") + '&orgId=' + $(this). data("org- id"); | |||||
| 103 | ||||||
| 104 | var $dialog = $('<div></ div>') | |||||
| 105 | .load(url) | |||||
| 106 | .dialog({ | |||||
| 107 | autoOp en: false, | |||||
| 108 | title: 'Batch An nounce Det ails', | |||||
| 109 | width: 600, | |||||
| 110 | height : 400, | |||||
| 111 | modal: true, | |||||
| 112 | button s: [ | |||||
| 113 | { | |||||
| 114 | text: "C lose", | |||||
| 115 | click: f unction() { | |||||
| 116 | var oTable = $ ('#tblBatc hAnnounceD etailRepor t').dataTa ble(); | |||||
| 117 | oTab le.fnDestr oy(); | |||||
| 118 | $(th is).dialog ('destroy' ).remove() ; | |||||
| 119 | } | |||||
| 120 | } | |||||
| 121 | ], | |||||
| 122 | close: function( e, i) { | |||||
| 123 | // At closing of modal destroy da ta table a nd the mod al as well | |||||
| 124 | va r oTable = $('#tblBa tchAnnounc eDetailRep ort').data Table(); | |||||
| 125 | oT able.fnDes troy(); | |||||
| 126 | $( this).dial og('destro y').remove (); | |||||
| 127 | } | |||||
| 128 | }); | |||||
| 129 | ||||||
| 130 | $dia log.dialog ('open'); | |||||
| 131 | ||||||
| 132 | retu rn false; | |||||
| 133 | }); | |||||
| 134 | }) ; | |||||
| 135 | </scri pt> | |||||
| 136 | <div c lass="well "> | |||||
| 137 | Fi ll in the fields bel ow to narr ow your se arch. All dates will be includ ed if Star t Date and End Date are left b lank. | |||||
| 138 | </div> | |||||
| 139 | <div c lass="form -container pad-botto m-20"> | |||||
| 140 | <f orm name=" batchAnnou nceForm"> | |||||
| 141 | <fieldse t> | |||||
| 142 | <leg end>Search Details</ legend> | |||||
| 143 | <div id="error Message" c lass="bg-w arning pad -15" style ="display: none;"></ div> | |||||
| 144 | <div class="wi dth-450 pa d-top-10"> | |||||
| 145 | <div id="s tartDateTi p" data-to oltip="<c: out value= "${descrip tors['mana geBatchesS tartDateFi eld']}"/>" > | |||||
| 146 | <label for="star tDate">Sta rt Date</l abel> | |||||
| 147 | <date: date id="s tartDate" name="star tDate" /> <i>mm/dd/y yyy</i> | |||||
| 148 | </div> | |||||
| 149 | <div id="e ndDateTip" data-tool tip="<c:ou t value="$ {descripto rs['manage BatchesEnd DateField' ]}"/>"> | |||||
| 150 | <label for="endD ate">End D ate</label > | |||||
| 151 | <date: date id="e ndDate" na me="endDat e" /> <i>m m/dd/yyyy< /i> | |||||
| 152 | </div> | |||||
| 153 | </di v> | |||||
| 154 | <div > | |||||
| 155 | <label tit le="Query based on < c:out valu e="${organ izationNam e}" /> Org anization from the d ropdown li st" for="r emoteOrgan ization">< c:out valu e="${organ izationNam e}" /> Org anization< /label> | |||||
| 156 | <select id ="remoteOr ganization " name="re moteOrgani zation" da ta-tooltip ="<c:out v alue="${de scriptors[ 'manageBat chesEHealt hOrganizat ionsField' ]}"/>"> | |||||
| 157 | <optio n value="" >ALL</opti on> | |||||
| 158 | <c:for Each var=" r" items=" ${organiza tions}"> | |||||
| 159 | <o ption valu e="<c:out value="${r .orgOid}" />"><c:out value="${ r.orgName} " /></opti on> | |||||
| 160 | </c:fo rEach> | |||||
| 161 | </select> | |||||
| 162 | </di v> | |||||
| 163 | </fields et> | |||||
| 164 | <div> | |||||
| 165 | <inp ut name="b tnSearch" id="btnSea rch" title ="Search" class="but ton" type= "button" v alue="Sear ch" /> | |||||
| 166 | </div> | |||||
| 167 | </ form> | |||||
| 168 | </div> | |||||
| 169 | <div i d="divRepo rtContent" > | |||||
| 170 | <t able id="t blReport" class="dis play" widt h="100%" c ellspacing ="0" role= "presentat ion"> | |||||
| 171 | <thead> | |||||
| 172 | <tr role="row" > | |||||
| 173 | <th role=" columnhead er"><input type="che ckbox" nam e="master" id="maste r" title=" Checkbox t hat allows to Check all (one o r many can be checke d below)"/ ></th> | |||||
| 174 | <th role=" columnhead er" style= "min-width : 140px;"> Organizati on Name</t h> | |||||
| 175 | <th role=" columnhead er" style= "min-width : 120px;"> Date Creat ed (CT)</t h> | |||||
| 176 | <th role=" columnhead er">Schedu led</th> | |||||
| 177 | <th role=" columnhead er">Comple ted</th> | |||||
| 178 | <th role=" columnhead er">Batch Size</th> | |||||
| 179 | <th role=" columnhead er">Action </th> | |||||
| 180 | </tr > | |||||
| 181 | </thead> | |||||
| 182 | </ table> | |||||
| 183 | </div> | |||||
| 184 | <div c lass="pad- top-10"> | |||||
| 185 | <f orm name=" manageBatc hSelectFor m" id="man ageBatchSe lectForm" action="Ba tchManager Results.do _sec" meth od="POST" onsubmit=" return doS ubmit(this )"> | |||||
| 186 | <input t itle="Dele te" class= "button" t ype="submi t" value=" Delete" na me="delete " /> | |||||
| 187 | </ form> | |||||
| 188 | </div> | |||||
| 189 | </f:mainTe mplate> |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.