-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
296 lines (261 loc) · 27.4 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
<!DOCTYPE html><html lang="en">
<head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body { font: 14px Verdana, sans-serif; background-color: white;}
a {text-decoration: none;}
h1 { font-size: 20px; font-weight: 500; background: #cfe8fd; border-left: 5px solid #0069c2; padding: 10px; color: #1b1b1b}
.card { border: 1px solid #d0d7de; position: relative; margin: 10px}
.card h2 {background: #f6f8fa; color: #333; margin: 0px 0px 10px 0px; padding: 10px 5px; font-weight: normal; border-bottom: 1px solid #d0d7de; text-align: center; font-size: 17px}
.card a {background-color: whitesmoke; color: #0969e1; padding: 10px; cursor: pointer; position: relative; display: block; margin: 10px}
.card a:hover {border-left: 3px solid cornflowerblue}
.card .label { padding: 10px 0px 5px 10px; display: block; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); grid-gap: 0px;}
input[type="submit"] { background-color: white; color: #0969e1; padding: 10px; border: 1px solid #cdcdcd; margin: 10px; width: -webkit-fill-available }
input[type="text"] { background-color: white; color: #0969e1; padding: 10px; border: 1px solid #cdcdcd; margin: 10px; width: -webkit-fill-available }
select#dipartment, select#doctor, select#custom, #dStart, #dEnd { background-color: white; color: #777; padding: 10px; border: 1px solid #cdcdcd; margin: 10px; width: -webkit-fill-available }
.button {background-color: #eeeef5 !important; border: none !important; text-align: center}
#tReport, #yyReport {display: none}
.tab { overflow: hidden; background-color: #eee; text-align: center}
.tab button {background-color: inherit; border: none; outline: none; cursor: pointer; padding: 14px 10px; transition: 0.3s; }
.tab button:hover { background-color: #ddd;}
.tab button.active { background-color: #f8f8f8;}
.dcontent { display: none;}
</style>
<title>IBN SINA</title></head><body>
<h1 id='kk'>Bookmark</h1>
<div class="grid">
<div class="card"><h2>Doctor Appoinment</h2>
<select onchange="changeValue()" id="dipartment">
<option>Select Dipartment</option><option>Gynae</option><option>Medicine</option><option>Chest-Medicine</option><option>Cardiology</option><option>Gastro</option><option>Hepatology</option><option>Neuro-Medicine</option><option>Neuro-Surgery</option><option>Orthopedic</option><option>Physical-Medicine</option><option>Rheumatology</option><option>Nephrology</option><option>Urology</option><option>E.N.T</option><option>Endocrinology</option><option>Pediatric</option><option>Eye</option><option>Skin-and-Sex</option><option>Plastic-Surgery
</option><option>General-Physician</option><option>General-Surgery</option><option>Blood-Cancer</option><option>Psychiatric</option><option>Dental</option><option>Food</option>
</select>
<select id="doctor"><option>Select Doctor</option></select>
<a id="viewDoc" href="" target="_blank" class="button">Make Appointment</a>
</div>
<div class="card"><h2>Test Report</h2>
<form action="https://service.ibnsinatrust.com/report">
<input type="text" name="inv" placeholder="Invoice Number" pattern="T[0-9].{4,}">
<input type="text" name="invoice_contact" placeholder="Mobile Number" pattern="[0-9]{11}">
<input type="submit" value="View Report" class="button">
</form>
</div>
<div class="card"><h2>Test Price</h2>
<iframe src="https://v3coder.github.io/ibnsina/test.html" width="100%" height="200" style="border:none;" seamless="seamless">
</iframe>
</div>
<div class="card"><h2>Quick Links</h2>
<a target="_blank" href="https://docs.google.com/spreadsheets/d/e/2PACX-1vQaHSSa9BRYF3pSittS9QGGrzeqJLhGdgA911RZSu8ol6IPzrk0360MdxwBfYtCxSZ7n8_NsWUyqGKS/pubhtml?gid=1370632188&single=true">Today Doctors</a>
<a target="_blank" href="http://210.4.73.10:52/appointments/apps/homeservice/appointment/3009/2">Home Service</a>
<a target="_blank" href="https://docs.google.com/forms/d/e/1FAIpQLSceCaHIiSFHlDit8az4ItdedFfis4_EBqMQfbV77ZbBaPgF5w/viewform?usp=sharing">Submit Report</a>
<a target="_blank" href="https://docs.google.com/spreadsheets/d/e/2PACX-1vQJkJixLi8bI6iQGiBIlCPXQkAmV7_CF2bi6eH0vmLqvbWL5iAaJvRMpehQCH8essS2Pzo17XgGCzuU/pubhtml?gid=112915421&single=true">View Report</a>
</div>
</div>
<h1>Generate Report</h1>
<div class="grid">
<div class="card">
<div class="tab">
<button class="dLinks" onclick="tabs(event, 'dLinks', 'yyReport','dcontent')">YYesterday</button>
<button class="dLinks" id="defaultDay" onclick="tabs(event, 'dLinks', 'yReport','dcontent')">Yesterday</button>
<button class="dLinks" onclick="tabs(event, 'dLinks', 'tReport','dcontent')">Today</button>
</div>
<div id="tReport" class="dcontent"></div>
<div id="yReport" class="dcontent"></div>
<div id="yyReport" class="dcontent"></div>
</div>
<div class="card">
<div class="tab">
<button class="mLinks" onclick="tabs(event, 'mLinks', 'yymReport','mcontent')">YYMonth</button>
<button class="mLinks" id="defaultMonth" onclick="tabs(event, 'mLinks', 'ymReport','mcontent')">YMonth</button>
<button class="mLinks" onclick="tabs(event, 'mLinks', 'tmReport','mcontent')">TMonth</button>
</div>
<div id="tmReport" class="mcontent"></div>
<div id="ymReport" class="mcontent"></div>
<div id="yymReport" class="mcontent"></div>
</div>
<div class="card"><h2>Custom Report</h2>
<select id="custom">
<option value="mriList">MRI List</option>
<option value="ctList">CT List</option>
<option value="corpList">Corporate List</option>
<option value="tCount" selected>Test Count</option>
<option value="inSell">Inhouse Sell</option>
<option value="pharSell">Pharmacy Sell</option>
<option value="inDocSell">Indoor Doctor Sell</option>
<option value="outDocSell">Outdoor Doctor Sell</option>
</select><br>
<div class="label">Start Date:</div>
<input type="date" id="dStart" min="2019-01-01" max="2025-12-31" onkeydown="return false" />
<div class="label">End Date:</div>
<input type="date" id="dEnd" min="2019-01-01" max="2025-12-31" onkeydown="return false" >
<div class="label">
<input type="radio" name="type" value="pdf" checked="checked"/> PDF
<input type="radio" name="type" value="xls"/> Excel
<a id="customOpt" href="" target="_blank" class="button" onClick="sOption()">Submit</a>
</div>
</div>
</div>
<script>
// Custom Report
function sOption(){ var x = custom.value;
var dStart = document.getElementById("dStart").value;
var dEnd = document.getElementById("dEnd").value;
var type = document.querySelector('input[name="type"]:checked').value;
if(x=='mriList'){ customOpt.href = 'http://192.168.4.5:9090/IBN_SINA_REPORT/generateReport.do?reportType=department&createdBy=All&branchCode=T&branchName=IBN+SINA+DIAGNOSTIC+%26+CONSULTATION+CENTER%2C+KERANIGONJ&branchAddress=Maa+Plaza+%2C+Kadomtoli+Mor+%2C+Keraniganj+%2C+Dhaka-1310&startDate='+dStart+'&endDate='+dEnd+'&departmentreporttype=testwisedetail&department=53&format='+type}
if(x=='ctList'){ customOpt.href = 'http://192.168.4.5:9090/IBN_SINA_REPORT/generateReport.do?reportType=department&createdBy=All&branchCode=T&branchName=IBN+SINA+DIAGNOSTIC+%26+CONSULTATION+CENTER%2C+KERANIGONJ&branchAddress=Maa+Plaza+%2C+Kadomtoli+Mor+%2C+Keraniganj+%2C+Dhaka-1310&startDate='+dStart+'&endDate='+dEnd+'&departmentreporttype=testwisedetail&department=12&format='+type }
if(x=='corpList'){ customOpt.href = 'http://192.168.4.5:9090/IBN_SINA_REPORT/generateReport.do?reportType=corporate&branchCode=T&branchName=IBN+SINA+DIAGNOSTIC+%26+CONSULTATION+CENTER%2C+KERANIGONJ&branchAddress=Maa+Plaza+%2C+Kadomtoli+Mor+%2C+Keraniganj+%2C+Dhaka-1310&startDate='+dStart+'&endDate='+dEnd+'&corporate=All&createdBy=All&type=detail&format='+type}
if(x=='tCount'){ customOpt.href = 'http://192.168.4.5:9090/IBN_SINA_REPORT/generateReport.do?reportType=departmentwisecollection&branchCode=T&branchName=IBN+SINA+DIAGNOSTIC+%26+CONSULTATION+CENTER%2C+KERANIGONJ&branchAddress=Maa+Plaza+%2C+Kadomtoli+Mor+%2C+Keraniganj+%2C+Dhaka-1310&startDate='+dStart+'&endDate='+dEnd+'&department=All&format='+type}
if(x=='inSell'){ customOpt.href = 'http://192.168.4.5:9090/IBN_SINA_REPORT/generateReport.do?reportType=payment&branchCode=T&branchName=IBN+SINA+DIAGNOSTIC+%26+CONSULTATION+CENTER%2C+KERANIGONJ&branchAddress=Maa+Plaza+%2C+Kadomtoli+Mor+%2C+Keraniganj+%2C+Dhaka-1310&startDate='+dStart+'&endDate='+dEnd+'&createdBy=All&paymentreporttype=summaryday&refund=All&service=All&format='+type}
if(x=='pharSell'){ customOpt.href = 'http://192.168.4.5:9002/reports/rwservlet?rep_key_kg&desformat=PDF&desname=FILE&destype=cache&report=/u01/source/Reports/PMR_M11_04&P_COMPANY_NO=1&P_STORE=153&G_EMP_NO=E200201000188&p_rpt_title=Pharmacy%20Collec.%20-%20Date%20Wise%20Summary&P_STR_DT='+dStart+'&P_END_DT='+dEnd+'&p_entered_by=&p_doc_no=ReportID/Code&p_builder=&p_user=E200201000188'}
if(x=='inDocSell'){ customOpt.href = 'http://192.168.4.5:9090/IBN_SINA_REPORT/generateReport.do?reportType=matrix&branchCode=T&branchName=IBN+SINA+DIAGNOSTIC+%26+CONSULTATION+CENTER%2C+KERANIGONJ&branchAddress=Maa+Plaza+%2C+Kadomtoli+Mor+%2C+Keraniganj+%2C+Dhaka-1310&startDate='+dStart+'&endDate='+dEnd+'&matrixreporttype=doctorvsdepartmentamount&format='+type}
if(x=='outDocSell'){ customOpt.href = 'http://192.168.4.5:9090/IBN_SINA_REPORT/generateReport.do?reportType=refdoctorperformance&type=&branchCode=T&branchName=IBN+SINA+DIAGNOSTIC+%26+CONSULTATION+CENTER%2C+KERANIGONJ&branchAddress=Maa+Plaza+%2C+Kadomtoli+Mor+%2C+Keraniganj+%2C+Dhaka-1310&startDate='+dStart+'&endDate='+dEnd+'&doctor=All&format='+type }
}
// Tabs
function tabs(evt, tabClass, contentID, contentClass) {
var i, tabcontent, tLinks; tabcontent = document.getElementsByClassName(contentClass);
for (i = 0; i < tabcontent.length; i++) { tabcontent[i].style.display = "none";}
tLinks = document.getElementsByClassName(tabClass);
for (i = 0; i < tLinks.length; i++) { tLinks[i].className = tLinks[i].className.replace(" active", ""); }
document.getElementById(contentID).style.display = "block"; evt.currentTarget.className += " active"; }
document.getElementById("defaultDay").click();
document.getElementById("defaultMonth").click();
var nameMonth=['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];
// Today Header
var d = new Date(); d.setDate(d.getDate());
var tDay = d.toLocaleDateString("en-EN", { weekday: 'short' });
document.querySelector('.dLinks:nth-child(3)').innerText = tDay.toUpperCase();
// Yeastarday Header
var d = new Date(); d.setDate(d.getDate() - 1);
var yDay = d.toLocaleDateString("en-EN", { weekday: 'short' });
document.querySelector('.dLinks:nth-child(2)').innerText = yDay.toUpperCase();
// YYeastarday Header
var d = new Date(); d.setDate(d.getDate() - 2);
var yyDay = d.toLocaleDateString("en-EN", { weekday: 'short' });
document.querySelector('.dLinks:nth-child(1)').innerText = yyDay.toUpperCase();
// This Month Name Header
var d = new Date(); d.setMonth(d.getMonth());
var tMonth = d.toLocaleString('default', { month: 'short' });
document.querySelector('.mLinks:nth-child(3)').innerText = tMonth.toUpperCase();
// Past Month Name Header
var d = new Date(); d.setMonth(d.getMonth()-1);
var yMonth = d.toLocaleString('default', { month: 'short' });
document.querySelector('.mLinks:nth-child(2)').innerText = yMonth.toUpperCase();
// Past Past Month Name Header
var d = new Date(); d.setMonth(d.getMonth()-2);
var yyMonth = d.toLocaleString('default', { month: 'short' });
document.querySelector('.mLinks:nth-child(1)').innerText = yyMonth.toUpperCase();
// Today Date
function getTodayDate() {
var date = new Date(); date.setDate(date.getDate());
return date.getFullYear() + '-' + (date.getMonth()+1) + '-' + date.getDate(); }
function getTodayDateMMM() {
var date = new Date(); date.setDate(date.getDate());
return date.getDate() + '-' + nameMonth[(date.getMonth())] + '-' + date.getFullYear().toString().substr(-2)}
// Yeastarday Date
function getYesterdaysDate() {
var date = new Date(); date.setDate(date.getDate()-1);
return date.getFullYear() + '-' + (date.getMonth()+1) + '-' + date.getDate(); }
function getYesterdaysDateMMM() {
var date = new Date(); date.setDate(date.getDate()-1);
return date.getDate() + '-' + nameMonth[(date.getMonth())] + '-' + date.getFullYear().toString().substr(-2)}
// YYeastarday Date
function getYYesterdaysDate() {
var date = new Date(); date.setDate(date.getDate()-2);
return date.getFullYear() + '-' + (date.getMonth()+1) + '-' + date.getDate(); }
function getYYesterdaysDateMMM() {
var date = new Date(); date.setDate(date.getDate()-2);
return date.getDate() + '-' + nameMonth[(date.getMonth())] + '-' + date.getFullYear().toString().substr(-2)}
// This Month Date
function MonthStart() {
var date = new Date(); date.setDate(0);
return date.getFullYear() + '-' + (date.getMonth()+2) + '-1' }
function MonthEnd() {
var date = new Date(); date.setDate(0);
return date.getFullYear() + '-' + (date.getMonth()+2) + '-' + date.getDate() }
function MonthStartMMM() {
var date = new Date(); date.setDate(0);
return '1-' + nameMonth[(date.getMonth())] + '-' + date.getFullYear().toString().substr(-2)}
function MonthEndMMM() {
var date = new Date(); date.setDate(0);
return date.getDate() + '-' + nameMonth[(date.getMonth()+1)] + '-' + date.getFullYear().toString().substr(-2)}
// Past Month Date
function yMonthStart() {
var date = new Date(); date.setDate(0);
return date.getFullYear() + '-' + (date.getMonth()+1) + '-1' }
function yMonthEnd() {
var date = new Date(); date.setDate(0);
return date.getFullYear() + '-' + (date.getMonth()+1) + '-' + date.getDate() }
function yMonthStartMMM() {
var date = new Date(); date.setDate(0);
return '1-' + nameMonth[(date.getMonth())] + '-' + date.getFullYear().toString().substr(-2)}
function yMonthEndMMM() {
var date = new Date(); date.setDate(0);
return date.getDate() + '-' + nameMonth[(date.getMonth())] + '-' + date.getFullYear().toString().substr(-2)}
// Past Past Month Date
function yyMonthStart() {
var date = new Date(); date.setDate(0);
return date.getFullYear() + '-' + (date.getMonth()) + '-1' }
function yyMonthEnd() {
var date = new Date(); date.setDate(0);
return date.getFullYear() + '-' + (date.getMonth()) + '-' + date.getDate() }
function yyMonthStartMMM() {
var date = new Date(); date.setDate(0);
return '1-' + nameMonth[(date.getMonth()-1)] + '-' + date.getFullYear().toString().substr(-2)}
function yyMonthEndMMM() {
var date = new Date(); date.setDate(0);
return date.getDate() + '-' + nameMonth[(date.getMonth()-1)] + '-' + date.getFullYear().toString().substr(-2)}
// Draft
function lastday(y,m){
return new Date(y, m -1, 0).getDate(); } // Past Month last date
var date = new Date();
var dd = String(date.getDate()).padStart(2, '0'); // Today Date
var mm = String(date.getMonth() + 1).padStart(2, '0'); // This Month
var yyyy = date.getFullYear(); // This Year
var d1 = String(date.getDate() - 1).padStart(2, '0'); // Yeasterday Date
var m1 = String(date.getMonth() + 0).padStart(2, '0'); // Past Month
var y1 = date.getFullYear() - 1; // Past Year
var md1 = new Date(yyyy, mm -1, 0).getDate(); // Past Month Last Date
today = mm + '/' + dd + '/' + yyyy;
//Daily Report
function dailyReport(id,day,today,todayMMM) { document.getElementById(id).innerHTML=
'<a target="_blank" href="http://192.168.4.5:9090/IBN_SINA_REPORT/generateReport.do?reportType=department&createdBy=All&branchCode=T&branchName=IBN+SINA+DIAGNOSTIC+%26+CONSULTATION+CENTER%2C+KERANIGONJ&branchAddress=Maa+Plaza+%2C+Kadomtoli+Mor+%2C+Keraniganj+%2C+Dhaka-1310&startDate='+today+'&endDate='+today+'&departmentreporttype=testwisedetail&department=53&format=pdf">MRI List</a><a target="_blank" href="http://192.168.4.5:9090/IBN_SINA_REPORT/generateReport.do?reportType=department&createdBy=All&branchCode=T&branchName=IBN+SINA+DIAGNOSTIC+%26+CONSULTATION+CENTER%2C+KERANIGONJ&branchAddress=Maa+Plaza+%2C+Kadomtoli+Mor+%2C+Keraniganj+%2C+Dhaka-1310&startDate='+today+'&endDate='+today+'&departmentreporttype=testwisedetail&department=12&format=pdf">CT List</a><a target="_blank" href="http://192.168.4.5:9090/IBN_SINA_REPORT/generateReport.do?reportType=corporate&branchCode=T&branchName=IBN+SINA+DIAGNOSTIC+%26+CONSULTATION+CENTER%2C+KERANIGONJ&branchAddress=Maa+Plaza+%2C+Kadomtoli+Mor+%2C+Keraniganj+%2C+Dhaka-1310&startDate='+today+'&endDate='+today+'&corporate=All&createdBy=All&type=detail&format=pdf">Corporate List</a><a target="_blank" href="http://192.168.4.5:9090/IBN_SINA_REPORT/generateReport.do?reportType=departmentwisecollection&branchCode=T&branchName=IBN+SINA+DIAGNOSTIC+%26+CONSULTATION+CENTER%2C+KERANIGONJ&branchAddress=Maa+Plaza+%2C+Kadomtoli+Mor+%2C+Keraniganj+%2C+Dhaka-1310&startDate='+today+'&endDate='+today+'&department=All&format=pdf">Test Count</a><a target="_blank" href="http://192.168.4.5:9090/IBN_SINA_REPORT/generateReport.do?reportType=payment&branchCode=T&branchName=IBN+SINA+DIAGNOSTIC+%26+CONSULTATION+CENTER%2C+KERANIGONJ&branchAddress=Maa+Plaza+%2C+Kadomtoli+Mor+%2C+Keraniganj+%2C+Dhaka-1310&startDate='+today+'&endDate='+today+'&createdBy=All&paymentreporttype=summaryday&refund=All&service=All&format=pdf">Inhouse Sell</a><a target="_blank" href="http://192.168.4.5:9002/reports/rwservlet?rep_key_kg&desformat=PDF&desname=FILE&destype=cache&report=/u01/source/Reports/PMR_M11_04&P_COMPANY_NO=1&P_STORE=153&G_EMP_NO=E200201000188&p_rpt_title=Pharmacy%20Collec.%20-%20Date%20Wise%20Summary&P_STR_DT='+todayMMM+'&P_END_DT='+todayMMM+'&p_entered_by=&p_doc_no=ReportID/Code&p_builder=&p_user=E200201000188">Pharmacy Sell</a>'}
dailyReport('tReport',tDay,getTodayDate(),getTodayDateMMM());
dailyReport('yReport',yDay,getYesterdaysDate(),getYesterdaysDateMMM());
dailyReport('yyReport',yyDay,getYYesterdaysDate(),getYYesterdaysDateMMM());
// Monthly Report
function monthlyReport(id,month,mstart,mend,mstartMMM,mendMMM) { document.getElementById(id).innerHTML=
'<a target="_blank" href="http://192.168.4.5:9090/IBN_SINA_REPORT/generateReport.do?reportType=department&createdBy=All&branchCode=T&branchName=IBN+SINA+DIAGNOSTIC+%26+CONSULTATION+CENTER%2C+KERANIGONJ&branchAddress=Maa+Plaza+%2C+Kadomtoli+Mor+%2C+Keraniganj+%2C+Dhaka-1310&startDate='+mstart+'&endDate='+mend+'&departmentreporttype=testwisedetail&department=53&format=pdf">MRI List</a><a target="_blank" href="http://192.168.4.5:9090/IBN_SINA_REPORT/generateReport.do?reportType=department&createdBy=All&branchCode=T&branchName=IBN+SINA+DIAGNOSTIC+%26+CONSULTATION+CENTER%2C+KERANIGONJ&branchAddress=Maa+Plaza+%2C+Kadomtoli+Mor+%2C+Keraniganj+%2C+Dhaka-1310&startDate='+mstart+'&endDate='+mend+'&departmentreporttype=testwisedetail&department=12&format=pdf">CT List</a><a target="_blank" href="http://192.168.4.5:9090/IBN_SINA_REPORT/generateReport.do?reportType=corporate&branchCode=T&branchName=IBN+SINA+DIAGNOSTIC+%26+CONSULTATION+CENTER%2C+KERANIGONJ&branchAddress=Maa+Plaza+%2C+Kadomtoli+Mor+%2C+Keraniganj+%2C+Dhaka-1310&startDate='+mstart+'&endDate='+mend+'&corporate=All&createdBy=All&type=detail&format=pdf">Corporate List</a><a target="_blank" href="http://192.168.4.5:9090/IBN_SINA_REPORT/generateReport.do?reportType=matrix&branchCode=T&branchName=IBN+SINA+DIAGNOSTIC+%26+CONSULTATION+CENTER%2C+KERANIGONJ&branchAddress=Maa+Plaza+%2C+Kadomtoli+Mor+%2C+Keraniganj+%2C+Dhaka-1310&startDate='+mstart+'&endDate='+mend+'&matrixreporttype=doctorvsdepartmentamount&format=pdf">Indoor Doctor Sell</a><a target="_blank" href="http://192.168.4.5:9090/IBN_SINA_REPORT/generateReport.do?reportType=refdoctorperformance&type=&branchCode=T&branchName=IBN+SINA+DIAGNOSTIC+%26+CONSULTATION+CENTER%2C+KERANIGONJ&branchAddress=Maa+Plaza+%2C+Kadomtoli+Mor+%2C+Keraniganj+%2C+Dhaka-1310&startDate='+mstart+'&endDate='+mend+'&doctor=All&format=pdf">Outdoor Doctor Sell</a><a target="_blank" href="http://192.168.4.5:9090/IBN_SINA_REPORT/generateReport.do?reportType=payment&branchCode=T&branchName=IBN+SINA+DIAGNOSTIC+%26+CONSULTATION+CENTER%2C+KERANIGONJ&branchAddress=Maa+Plaza+%2C+Kadomtoli+Mor+%2C+Keraniganj+%2C+Dhaka-1310&startDate='+mstart+'&endDate='+mend+'&createdBy=All&paymentreporttype=summaryday&refund=All&service=All&format=pdf">Inhouse Sell</a><a target="_blank" href="http://192.168.4.5:9002/reports/rwservlet?rep_key_kg&desformat=PDF&desname=FILE&destype=cache&report=/u01/source/Reports/PMR_M11_04&P_COMPANY_NO=1&P_STORE=153&G_EMP_NO=E200201000188&p_rpt_title=Pharmacy%20Collec.%20-%20Date%20Wise%20Summary&P_STR_DT='+mstartMMM+'&P_END_DT='+mendMMM+'&p_entered_by=&p_doc_no=ReportID/Code&p_builder=&p_user=E200201000188">Pharmacy Sell</a>'}
monthlyReport('tmReport',tMonth,MonthStart(),MonthEnd(),MonthStartMMM(),MonthEndMMM());
monthlyReport('ymReport',yMonth,yMonthStart(),yMonthEnd(),yMonthStartMMM(),yMonthEndMMM());
monthlyReport('yymReport',yyMonth,yyMonthStart(),yyMonthEnd(),yyMonthStartMMM(),yyMonthEndMMM());
// Doctor Appoinment
doctor.onchange = function() { viewDoc.href = 'http://210.4.73.10:52/appointments/apps/appointment/'+doctor.value; }
function changeValue(){ var x = dipartment.value;
if(x=='Gynae'){ document.getElementById('doctor').innerHTML=
'<option>Select Doctor</option><option value="1505/13103">Prof Dr. Mahbuba Akter Banu</option><option value="1506/13104">Assoc. Prof. Dr. Abida Sultana</option><option value="1523/13105">Assoc. Prof. Dr. Sarwat Jahan Zubyra</option><option value="1525/13106">Dr. Umme Kulsum</option><option value="1526/13107">Asst. Prof. Dr. Fazilatunnesa Naznin</option><option value="3044/13896">Dr. Chalontika Rani</option><option value="3454/14389">Dr. Farjana Islam Shampa</option><option value="3521/14471">Dr. Farjana Sharmin Mitul</option><option value="3591/14565">Dr. Shirin Hossain</option>'; }
if(x=='Medicine'){ document.getElementById('doctor').innerHTML='<option>Select Doctor</option><option value="1504/13108">Asst. Prof. Dr. Kazi Shamim Ahmed</option><option value="1527/13110">Dr. Sardar Md Tanvir</option><option value="1680/13402">Dr. Abida Sultana Sathi</option><option value="1743/13111">Asst. Prof. Dr. Shamsun Nahar</option>'; }
if(x=='Chest-Medicine'){ document.getElementById('doctor').innerHTML='<option>Select Doctor</option><option value="1529/13113">Assoc. Prof. Dr. Md Soroar Hossain</option><option value="1530/13114">Dr. Mahbubur Rahman Mahbub</option>'; }
if(x=='Cardiology'){ document.getElementById('doctor').innerHTML='<option>Select Doctor</option><option value="1507/13115">Asst. Prof. Dr. Sajjadur Rahman</option><option value="1531/13116">Asst. Prof. Dr. A T M Nurunnabi Shah</option><option value="3351/14290">Dr. Rahatul Quadir</option><option value="3585/14557">Dr. Suchitra Basak</option>'; }
if(x=='Gastro'){ document.getElementById('doctor').innerHTML='<option>Select Doctor</option><option value="1706/13179">Asst. Prof. Dr. Abu Rayhan Siddique</option><option value="3626/14605">Assoc. Prof. Dr. Mohammad Jakir Hossain</option>'; }
if(x=='Hepatology'){ document.getElementById('doctor').innerHTML='<option>Select Doctor</option><option value="1707/13180">Dr. Md. Saiful Islam Alin</option>'; }
if(x=='Neuro-Medicine'){ document.getElementById('doctor').innerHTML='<option>Select Doctor</option><option value="1533/13118">Asst. Prof. Dr. Md Akter Hossain</option><option value="1647/13119">Assoc. Prof. Dr. Shaheen Wadud</option><option value="1648/13121">Dr. Tariqul Islam</option><option value="1661/13122">Dr. Alamgir Hossain</option><option value="1662/13124">Assoc. Prof. Dr. Gurudas Mondol</option>'; }
if(x=='Neuro-Surgery'){ document.getElementById('doctor').innerHTML='<option>Select Doctor</option><option value="1663/13125">Asst. Prof. Dr. Uzzal Kumar Sadu Khan</option>'; }
if(x=='Orthopedic'){ document.getElementById('doctor').innerHTML='<option>Select Doctor</option><option value="1724/13183">Asst. Prof. Dr. Anup Mostafa</option><option value="1725/13184">Dr. Tanvir Haydir Chowdhury</option><option value="1728/13185">Dr. Md Ishtiaque Ashif Khan</option><option value="1730/13186">Prof Dr. Lutfar Rahman Khan</option><option value="3043/13895">Dr. Obaidur Rahman</option>'; }
if(x=='Physical-Medicine'){ document.getElementById('doctor').innerHTML='<option>Select Doctor</option><option value="1500/14298">Asst. Prof. Dr. Musa MD. Hojaifa</option><option value="1701/13141">Dr. Aminul Alam</option><option value="1702/13142">Dr. Md. Harun - Or - Rashid</option>'; }
if(x=='Rheumatology'){ document.getElementById('doctor').innerHTML='<option>Select Doctor</option><option value="1739/13195">Dr. Shahin Mahmud</option>'; }
if(x=='Nephrology'){ document.getElementById('doctor').innerHTML='<option>Select Doctor</option><option value="1708/13181">Assoc. Prof. Dr. MD Mohiuddin</option><option value="1723/13182">Assoc. Prof. Dr. Nayan Ranjan Sarkar</option><option value="3589/14561">Dr. Sharif Qamar Uddin</option>'; }
if(x=='Urology'){ document.getElementById('doctor').innerHTML='<option>Select Doctor</option><option value="1731/13187">Asst. Prof. Dr. Mostafizur Rahman</option><option value="3345/14270">Asst. Prof. Dr. Md. Haris Uddin</option>'; }
if(x=='E.N.T'){ document.getElementById('doctor').innerHTML='<option>Select Doctor</option><option value="1704/13177">Asst. Prof. Dr. A.H.M Noor-E-As Sayed</option><option value="1705/13178">Dr. Baha Uddin</option><option value="3220/14120">Dr. Md. Ashiqur Rahman Azad</option><option value="3586/14558">Dr. S. M. Rasel Parvez</option>'; }
if(x=='Endocrinology'){ document.getElementById('doctor').innerHTML='<option>Select Doctor</option><option value="1703/13176">Dr. Atikur Rahman</option><option value="1817/13507">Dr. Ayesa Begum</option>'; }
if(x=='Pediatric'){ document.getElementById('doctor').innerHTML='<option>Select Doctor</option><option value="1664/13126">Asst. Prof. Dr. Mahmuda Begum</option><option value="1665/13132">Asst. Prof. Dr. Md. Monir Hossain</option><option value="1666/13134">Dr. Md. Mahfuzur Rahman</option><option value="1667/13135">Dr. Md. Atikul Islam</option><option value="1696/13136">Dr. Mahmudul Hoque Chowdhury</option><option value="1697/13137">Dr. Fouzdar Md Rofikuzzaman</option><option value="1722/13434">Prof Dr. A. T. M. Atikur Rahman</option><option value="3588/14560">Dr. Somita Rani Sarker</option>'; }
if(x=='Eye'){ document.getElementById('doctor').innerHTML='<option>Select Doctor</option><option value="1737/13193">Assoc. Prof. Dr. Md Zinnu Rain Newton</option><option value="3334/14259">Prof. Dr. Md. Abdul Hye</option>'; }
if(x=='Skin-and-Sex'){ document.getElementById('doctor').innerHTML='<option>Select Doctor</option><option value="1698/13138">Assoc. Prof. Dr. Atiqur Rahman</option><option value="1699/13139">Asst. Prof. Dr. Moniruzzman Khan</option><option value="1700/13140">Dr. Wazeda Begum</option><option value="1818/13511">Assoc. Prof. Dr. Ishrat Bhuiyan</option><option value="3445/14379">DR. MD. Sirajul Islam</option>'; }
if(x=='Plastic-Surgery'){ document.getElementById('doctor').innerHTML='<option>Select Doctor</option><option value="3587/14559">Dr. Md. Mosaddeque Hasan Asif</option>'; }
if(x=='General-Physician'){ document.getElementById('doctor').innerHTML='<option>Select Doctor</option><option value="1740/13196">Dr. Tamanna Ahmed</option><option value="1741/13197">Dr. Mamun-ur-Rashid Mamun</option>'; }
if(x=='General-Surgery'){ document.getElementById('doctor').innerHTML='<option>Select Doctor</option><option value="1738/13194">Dr. Abu Khair</option><option value="3077/13937">Dr. Mahanaz Tabassum Prova</option>'; }
if(x=='Blood-Cancer'){ document.getElementById('doctor').innerHTML='<option>Select Doctor</option><option value="1732/13188">Asst. Prof. Dr. Md Wasim</option>'; }
if(x=='Psychiatric'){ document.getElementById('doctor').innerHTML='<option>Select Doctor</option><option value="1940/13654">Dr. Towhidul Islam</option>'; }
if(x=='Dental'){ document.getElementById('doctor').innerHTML='<option>Select Doctor</option><option value="1733/13189">Dr. Khadiza Akter</option><option value="1734/13190">Dr. Ayesha Rasul</option><option value="1735/13191">Dr. Md Sumon Hossain</option><option value="1736/13192">Dr. Fakrul Islam</option><option value="3568/14532">Dr. Tanjila Akter</option>'; }
if(x=='Food'){ document.getElementById('doctor').innerHTML='<option>Select Doctor</option><option value="1742/13440">Dr. Nusrat Jahan</option>'; }
}
</script>
</body>