-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathview.aspx
480 lines (429 loc) · 35 KB
/
view.aspx
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
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
<%@ Page Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="view.aspx.cs" Inherits="authwebpart.view" %>
<asp:Content ID="Content1" ContentPlaceHolderID="viewAccID" runat="server">
<ol class="breadcrumb">
<li class="breadcrumb-item">
<asp:LinkButton ID="LinkButton6" runat="server" PostBackUrl="~/dashboard.aspx">Home</asp:LinkButton>
</li>
<li class="breadcrumb-item">
<asp:LinkButton ID="LinkButton2" runat="server" PostBackUrl="~/cust_list.aspx">List accounts</asp:LinkButton>
</li>
<li class="breadcrumb-item">
View Account
</li>
</ol>
<div class="container-fluid">
<div class="animated fadeIn">
<div class="row">
<div class="col-lg-12">
<div class="card">
<div class="card-header">
<i class="fa fa-align-justify"></i> Customer Information
</div>
<div class="card-body">
<p>
<strong>Customer Id: </strong>
<asp:Label ID="Label25" runat="server" Text="Customer Id:"></asp:Label>
</p>
<p>
LastUpdated:
<asp:Label ID="Label26" runat="server" Text="LastUpdated:"></asp:Label>
</p>
<p>
Created:
<asp:Label ID="Label27" runat="server" Text="LastUpdated:"></asp:Label>
</p>
<p>
Create:
<asp:Label ID="Label28" runat="server" Text="LastUpdated:"></asp:Label>
</p>
<p>
Name:
<asp:Label ID="Label19" runat="server" Text="Name:"></asp:Label>
</p>
<p>
Address:
<asp:Label ID="Label20" runat="server" Text="Address:"></asp:Label>
</p>
<p>
Address:
<asp:Label ID="Label21" runat="server" Text="City:"></asp:Label>
</p>
<p>
Mobile No:
<asp:Label ID="Label22" runat="server" Text="Mobile No:"></asp:Label>
</p>
<p>
Interest Rate:
<asp:Label ID="Label23" runat="server" Text="InterestRate:"></asp:Label>
</p>
<p>
Debit Limit:
<asp:Label ID="Label24" runat="server" Text="DebitLimit:"></asp:Label>
</p>
<asp:HiddenField ID="HiddenField1" runat="server" />
<asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:v0scon %>" DeleteCommand="DELETE FROM cust_mor WHERE (cust_mor_id = @cust_mor_id)" SelectCommand="SELECT item_type, item_name, gross_weight, rate, amount, cust_mor_id FROM cust_mor WHERE (c_id = @c_id)" UpdateCommand="UPDATE cust_mor SET item_type = @item_type, item_name = @item_name, gross_weight = @gross_weight, rate = @rate, amount = @amount WHERE (cust_mor_id = @cust_mor_id)" ProviderName="<%$ ConnectionStrings:v0scon.ProviderName %>">
<DeleteParameters>
<asp:ControlParameter ControlID="GridView1" Name="cust_mor_id" PropertyName="SelectedValue" />
</DeleteParameters>
<SelectParameters>
<asp:ControlParameter ControlID="HiddenField1" Name="c_id" PropertyName="Value" />
</SelectParameters>
<UpdateParameters>
<asp:Parameter Name="item_type" />
<asp:Parameter Name="item_name" />
<asp:Parameter Name="gross_weight" />
<asp:Parameter Name="rate" />
<asp:Parameter Name="amount" />
<asp:ControlParameter ControlID="GridView1" Name="cust_mor_id" PropertyName="SelectedValue" />
</UpdateParameters>
</asp:SqlDataSource>
</div>
</div>
</div>
<div class="col-lg-12">
<div class="card">
<div class="card-header">
<i class="fa fa-align-justify"></i> Item Details
</div>
<div class="card-body">
<table class="table table-striped">
<thead>
<tr>
<th>
<asp:Label ID="Label6" runat="server" Text="Item Type"></asp:Label>
</th>
<th>
<asp:Label ID="Label7" runat="server" Text="Item Name"></asp:Label>
</th>
<th>
<asp:Label ID="Label8" runat="server" Text="Weight"></asp:Label>
</th>
<th>
<asp:Label ID="Label9" runat="server" Text="Rate"></asp:Label>
</th>
<th>
<asp:Label ID="Label10" runat="server" Text="Amount"></asp:Label>
</th>
<th>
<asp:Label ID="actionlbl" runat="server" Text="Action"></asp:Label>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<asp:DropDownList ID="DropDownList1" runat="server" CssClass="form-control">
<asp:ListItem >--Select--</asp:ListItem>
<asp:ListItem Value="silver" Text="Silver"></asp:ListItem>
<asp:ListItem Value="gold" Text="Gold"></asp:ListItem>
<asp:ListItem Value="other" Text="Other"></asp:ListItem>
</asp:DropDownList>
<asp:RequiredFieldValidator ID="vrequireditemtype" runat="server" ErrorMessage="Invalid-Selection" ValidationGroup="vinsert" InitialValue="--Select--" ForeColor="Red" ControlToValidate="DropDownList1"></asp:RequiredFieldValidator>
</td>
<td>
<asp:TextBox ID="TextBox10" runat="server" CssClass="form-control"></asp:TextBox>
<asp:RequiredFieldValidator ID="vrequiredt10" runat="server" ErrorMessage="item name is a required field !" ControlToValidate="TextBox10" Text="*" ForeColor="Red" ValidationGroup="vinsert">
</asp:RequiredFieldValidator>
</td>
<td>
<asp:TextBox runat="server" ID="TextBox12" CssClass="form-control"></asp:TextBox>
<asp:RequiredFieldValidator ID="vrequired12" runat="server" ErrorMessage="gross weight is a required !" ControlToValidate="TextBox12" Text="*" ForeColor="Red" ValidationGroup="vinsert">
</asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ID="vregexgrossweight" runat="server" ErrorMessage="Invalid-Gross Weight" ValidationExpression="^\d+([,\.]\d{1,2})?$" ControlToValidate="TextBox12" ForeColor="Red" ValidationGroup="vinsert"></asp:RegularExpressionValidator>
</td>
<td>
<asp:TextBox runat="server" ID="TextBox14" CssClass="form-control"></asp:TextBox>
<asp:RequiredFieldValidator ID="vrequiredt4" runat="server" ErrorMessage="rate is a required !" ControlToValidate="TextBox14" Text="*" ForeColor="Red" ValidationGroup="vinsert">
</asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ID="vregexrate" runat="server" ErrorMessage="Invalid-Rate" ValidationExpression="^\d+([,\.]\d{1,2})?$" ControlToValidate="TextBox14" ForeColor="Red" ValidationGroup="vinsert"></asp:RegularExpressionValidator>
</td>
<td>
<asp:TextBox runat="server" ID="TextBox16" CssClass="form-control"></asp:TextBox>
<asp:RequiredFieldValidator ID="vrequiredt16" runat="server" ErrorMessage="amount is a required !" ControlToValidate="TextBox16" Text="*" ForeColor="Red" ValidationGroup="vinsert">
</asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ID="vregexamt" runat="server" ErrorMessage="Invalid-Amount" ValidationExpression="^\d+([,\.]\d{1,2})?$" ControlToValidate="TextBox16" ForeColor="Red" ValidationGroup="vinsert"></asp:RegularExpressionValidator>
</td>
<td>
<asp:Button ID="Button4" runat="server" ValidationGroup="vinsert" CssClass="btn btn-primary" OnClick="Button4_Click" Text="Add" />
</td>
</tr>
</tbody>
</table>
<asp:GridView ID="GridView1" OnRowDataBound="GridView1_RowDataBound" runat="server" ShowFooter="True" AutoGenerateColumns="False" CssClass="table table-striped" DataKeyNames="cust_mor_id" DataSourceID="SqlDataSource2" >
<Columns>
<asp:TemplateField HeaderText = "Sr.No" >
<ItemTemplate >
<asp:Label ID="lblRowNumber" Text='<%# Container.DataItemIndex + 1 %>' runat="server" />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Item Type" SortExpression="item_type">
<EditItemTemplate>
<asp:DropDownList ID="DropDownList2" CssClass="form-control" SelectedValue='<%# Bind("item_type") %>' runat="server">
<asp:ListItem Value="silver" Text="Silver"></asp:ListItem>
<asp:ListItem Value="gold" Text="Gold"></asp:ListItem>
<asp:ListItem Value="other" Text="Other"></asp:ListItem>
</asp:DropDownList>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label5" runat="server" Text='<%# Bind("item_type") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Item Name" SortExpression="item_name">
<EditItemTemplate>
<asp:TextBox ID="TextBox4" CssClass="form-control" runat="server" Text='<%# Bind("item_name") %>'></asp:TextBox>
<asp:RequiredFieldValidator ID="vrequiredt4" runat="server" ErrorMessage="item name empty!" EnableClientScript="true" ControlToValidate="TextBox4" Text="*" ForeColor="Red" ValidationGroup="vedit" >
</asp:RequiredFieldValidator>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label4" runat="server" Text='<%# Bind("item_name") %>'></asp:Label>
</ItemTemplate>
<FooterTemplate>
Total Weight:
</FooterTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Weight" SortExpression="gross_weight">
<EditItemTemplate>
<asp:TextBox ID="TextBox1" CssClass="form-control" runat="server" Text='<%# Bind("gross_weight") %>'></asp:TextBox>
<asp:RequiredFieldValidator ID="vrequiredt1" runat="server" ErrorMessage="gross weight empty !" ControlToValidate="TextBox1" Text="*" ForeColor="Red" ValidationGroup="vedit">
</asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ID="vregexgrossweight" runat="server" ErrorMessage="Invalid-Weight" ValidationExpression="^\d{0,5}([,\.]\d{1,3})?$" ControlToValidate="TextBox1" ForeColor="Red" ValidationGroup="vedit"></asp:RegularExpressionValidator>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# Bind("gross_weight") %>'></asp:Label>
</ItemTemplate>
<FooterTemplate>
<asp:Label ID="lblgrtotal" runat="server" ></asp:Label>
</FooterTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Rate" SortExpression="rate">
<EditItemTemplate>
<asp:TextBox ID="TextBox3" CssClass="form-control" runat="server" Text='<%# Bind("rate") %>'></asp:TextBox>
<asp:RequiredFieldValidator ID="vrequiredt3" runat="server" ErrorMessage="rate is a required !" ControlToValidate="TextBox3" Text="*" ForeColor="Red" ValidationGroup="vedit">
</asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ID="vregextextbox3" runat="server" ErrorMessage="Invalid-Rate" ValidationExpression="^\d{0,5}([,\.]\d{1,3})?$" ControlToValidate="TextBox3" ForeColor="Red" ValidationGroup="vedit"></asp:RegularExpressionValidator>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label3" runat="server" Text='<%# Bind("rate") %>'></asp:Label>
</ItemTemplate>
<FooterTemplate>
Total Amt
</FooterTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Amount" SortExpression="amount">
<EditItemTemplate>
<asp:TextBox ID="TextBox2" CssClass="form-control" runat="server" Text='<%# Bind("amount") %>'></asp:TextBox>
<asp:RequiredFieldValidator ID="vrequiredt2" runat="server" ErrorMessage="amount is a required !" ControlToValidate="TextBox2" Text="*" ForeColor="Red" ValidationGroup="vedit">
</asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ID="vregextext2" runat="server" ErrorMessage="Invalid-Amount" ValidationExpression="^\d{0,7}([,\.]\d{1,3})?$" ControlToValidate="TextBox2" ForeColor="Red" ValidationGroup="vedit"></asp:RegularExpressionValidator>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label2" runat="server" Text='<%# Bind("amount") %>'></asp:Label>
</ItemTemplate>
<FooterTemplate>
<asp:Label ID="lblactotal" runat="server" >actotal</asp:Label>
</FooterTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Id" Visible="false" InsertVisible="False" SortExpression="cust_mor_id">
<EditItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# Eval("cust_mor_id") %>'></asp:Label>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label6" runat="server" Text='<%# Bind("cust_mor_id") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:CommandField ShowDeleteButton="True" ShowEditButton="True" HeaderText="Action" ValidationGroup="vedit" />
</Columns>
</asp:GridView>
</div>
</div>
</div>
<div class="col-lg-12">
<div class="card">
<div class="card-header">
<i class="fa fa-align-justify"></i> Transaction Details
</div>
<div class="card-body">
<asp:GridView ID="GridView2" runat="server" CssClass="table table-striped credit-debit-table" AutoGenerateColumns="False" DataSourceID="SqlDataSource1" OnRowDataBound="GridView2_RowDataBound" EmptyDataText="Empty Transection">
<Columns>
<asp:BoundField DataField="t_date" HeaderText="Date" SortExpression="t_date" />
<asp:TemplateField HeaderText="Credit(in Rs.)" ></asp:TemplateField>
<asp:TemplateField HeaderText="Debit(in Rs.)">
</asp:TemplateField>
<asp:BoundField DataField="t_type" HeaderText="Mortgage type" SortExpression="t_type" />
<asp:BoundField DataField="t_amount" HeaderText="Amount" SortExpression="t_amount" >
</asp:BoundField>
<asp:TemplateField HeaderText="Mortgage Amt.">
</asp:TemplateField>
</Columns>
</asp:GridView>
<!----------------------------------------------------->
<div>
<input type="button" id="btnPrint" class="btn btn-secondary float-right" value="Print" onclick="PrintGridData()" />
<i class="fa fa-print float-left" style="font-size:36px"></i>
</div>
<script type="text/javascript">
function PrintGridData() {
var prtGrid = document.getElementById('<%=GridView2.ClientID %>');
var prtName = document.getElementById('<%=Label19.ClientID %>');
var prtID = document.getElementById('<%=Label25.ClientID %>');
var prtIntr = document.getElementById('<%=Label23.ClientID %>');
var prtDeblimit = document.getElementById('<%=Label24.ClientID %>');
var totCr = document.getElementById('<%=lbltotcr.ClientID %>');
var totDeb = document.getElementById('<%=lbltotdeb.ClientID %>');
var totMor = document.getElementById('<%=lblpayamt.ClientID %>');
prtGrid.border = 0;
var prtwin = window.open('', 'PrintGridViewData', 'left=100,top=100,width=1000,height=1000,tollbar=0,scrollbars=1,status=0,resizable=1');
prtwin.document.write("cust_id: " + prtID.outerHTML+"<br>");
prtwin.document.write("Name: " +prtName.outerHTML + "<br>");
prtwin.document.write("Debit Limit: " + "₹ " + prtDeblimit.outerHTML + "<br>");
prtwin.document.write("Interest Rate: " + prtIntr.outerHTML+"%" + "<br>");
prtwin.document.write("<br><br>");
prtwin.document.write(prtGrid.outerHTML);
prtwin.document.write("<br><br>");
prtwin.document.write("Total Debit Amount: " + "₹ " + totDeb.outerHTML + "<br>");
prtwin.document.write("Total Credit Amount: " + "₹ " + totCr.outerHTML + "<br>");
prtwin.document.write("Required Payable Amount: " + "₹ " + totMor.outerHTML + "<br>");
prtwin.document.close();
prtwin.focus();
prtwin.print();
prtwin.close();
}
</script>
<!----------------------------------------------------->
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:v0scon %>" ProviderName="<%$ ConnectionStrings:v0scon.ProviderName %>" SelectCommand="SELECT [t_type], [t_date], [t_amount] FROM [transection] WHERE ([c_id] = @c_id) ORDER BY [t_date] DESC">
<SelectParameters>
<asp:QueryStringParameter Name="c_id" QueryStringField="c_id" Type="Int32" />
</SelectParameters>
</asp:SqlDataSource>
</div>
</div>
</div>
<div class="col-lg-12">
<div class="card">
<div class="card-header">
<i class="fa fa-align-justify"></i> Interest Calculation
</div>
<div class="card-body">
<table class="table table-bordered table-striped table-sm" border="1" >
<tr>
<th >
<strong>Total Debit Amount: </strong>
</th>
<th>
<strong>Total Credit Amount: </strong>
</th>
</tr>
<tr>
<td>
<b>₹</b><asp:Label ID="lbltotdeb" runat="server" Text="0"> </asp:Label>
</td>
<td>
<b>₹</b><asp:Label ID="lbltotcr" runat="server" Text="0"></asp:Label>
</td>
</tr>
</table>
</div>
<div class="card-body">
<p>
<button type="button" class="btn btn-info" data-toggle="modal" data-target="#infoModal">
Open Calculator
</button>
</p>
<p>
<strong>Total Debit Due Amount: </strong> <b>₹</b><asp:Label ID="lbltotmor" runat="server" Text="0"></asp:Label>
</p>
<p>
<strong>Total Debit Interest: </strong> <b>₹</b><asp:Label ID="lbltotint" runat="server" Text="Label"></asp:Label>
</p>
<p>
<strong>Payable Amount: </strong> <b>₹</b><asp:Label ID="lblpayamt" runat="server" Text="Label"></asp:Label>
</p>
</div>
</div>
</div>
<div class="col-lg-12">
<div class="card">
<div class="card-header">
<i class="fa fa-align-justify"></i> Credit / Debit
</div>
<div class="card-body">
<div class="form-group row">
<div class="col-md-12 col-lg-12">
<asp:RadioButtonList ID="RadioButtonList1" CssClass="form-control" runat="server" RepeatDirection="Horizontal" Width="90px">
<asp:ListItem Value="c" Selected="True">credit</asp:ListItem>
<asp:ListItem Value="d">debit</asp:ListItem>
</asp:RadioButtonList>
</div>
</div>
<div class="form-group row">
<label class="col-lg-3 col-md-3">Amount</label>
<div class="col-md-9 col-lg-9">
<asp:TextBox ID="TextBox17" runat="server" CssClass="form-control"></asp:TextBox>
<asp:RequiredFieldValidator ID="vrequiredt17" runat="server" ControlToValidate="TextBox17" Text="*" ForeColor="Red" ValidationGroup="vtrans" >
</asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ID="vregext17" runat="server" Text="Invalid-Transection Amount::Try Again" ValidationExpression="^\d{0,7}([,\.]\d{1,3})?$" ControlToValidate="TextBox17" ForeColor="Red" ValidationGroup="vtrans" ></asp:RegularExpressionValidator>
</div>
</div>
<div class="form-group row datepicker">
<label class="col-lg-3 col-md-3">Date</label>
<div class="col-md-9 col-lg-9">
<asp:TextBox ID="creditdebitDate" runat="server" CssClass="input-sm form-control" TextMode="DateTime"></asp:TextBox>
<asp:RequiredFieldValidator ID="vrequiredcdtext" runat="server" ControlToValidate="creditdebitDate" Text="*" ForeColor="Red" ValidationGroup="vtrans" >
</asp:RequiredFieldValidator>
</div>
</div>
</div>
<div class="card-footer">
<asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="Submit" ValidationGroup="vtrans" CssClass="btn btn-primary" />
<asp:Button ID="Button3" runat="server" OnClick="Button3_Click" Text="Submit and close" CssClass="btn btn-secondary"/>
<asp:Button ID="Button5" runat="server" Enabled="False" OnClick="Button5_Click" CssClass="btn btn-danger pull-right" OnClientClick="var a = confirm('Are you Sure Want to Delete?'); return a;" Text="Delete" Visible="False" />
</div>
</div>
</div>
</div>
</div>
</div>
<div class="modal fade" id="infoModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" style="display: none;" aria-hidden="true">
<div class="modal-dialog modal-info" role="document">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">Calculator</h4>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div class="calculator demo">
<div class="u4 display">
<div class="display-inner"><div class="display-text" data-bind="text: display"></div></div>
</div>
<button id="calculator-button-c" class="u1 button button-red" data-bind="click: clear">c</button>
<button id="calculator-button-backspace" class="u1 button button-backspace button-gray" data-bind="click: backspace">⇤</button>
<button id="calculator-button-negate" class="u1 button button-gray" data-bind="click: negate">±</button>
<button id="calculator-button-÷" class="u1 button button-gray" data-bind="click: operator">÷</button>
<button id="calculator-button-7" class="u1 button button-gray" data-bind="click: number">7</button>
<button id="calculator-button-8" class="u1 button button-gray" data-bind="click: number">8</button>
<button id="calculator-button-9" class="u1 button button-gray" data-bind="click: number">9</button>
<button id="calculator-button-x" class="u1 button button-gray" data-bind="click: operator">x</button>
<button id="calculator-button-4" class="u1 button button-gray" data-bind="click: number">4</button>
<button id="calculator-button-5" class="u1 button button-gray" data-bind="click: number">5</button>
<button id="calculator-button-6" class="u1 button button-gray" data-bind="click: number">6</button>
<button id="calculator-button--" class="u1 button button-gray" data-bind="click: operator">-</button>
<button id="calculator-button-1" class="u1 button button-gray" data-bind="click: number">1</button>
<button id="calculator-button-2" class="u1 button button-gray" data-bind="click: number">2</button>
<button id="calculator-button-3" class="u1 button button-gray" data-bind="click: number">3</button>
<button id="calculator-button-+" class="u1 button button-gray" data-bind="click: operator">+</button>
<button id="calculator-button-0" class="u2 button button-gray" data-bind="click: number">0</button>
<button id="calculator-button-." class="u1 button button-gray" data-bind="click: number">.</button>
<button id="calculator-button-=" class="u1 button button-blue" data-bind="click: operator">=</button>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal-dialog -->
</div>
</asp:Content>