SHOW:
|
|
- or go back to the newest paste.
| 1 | - | Imports System.IO |
| 1 | + | Protected Sub ProcessPerDayPatientAmt(Optional ByVal lst2 As List(Of Claim) = Nothing) |
| 2 | - | Partial Public Class Manage837 |
| 2 | + | |
| 3 | - | Inherits System.Web.UI.Page |
| 3 | + | |
| 4 | Dim bm As New BillingMonths | |
| 5 | - | Dim lst2 As New List(Of Claim) |
| 5 | + | Dim bid As Integer |
| 6 | bid = bm.SelectBID(Convert.ToDateTime(txtEndDate.Text).Month, Convert.ToDateTime(txtEndDate.Text).Year) | |
| 7 | - | Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load |
| 7 | + | |
| 8 | - | SetPermissions() |
| 8 | + | If lst2.Count = 0 Then |
| 9 | - | If Not IsPostBack() Then |
| 9 | + | lst2 = hdnTest.Value 'Maybe put a function for serializing here? |
| 10 | - | If Request.QueryString("sd") <> "" Then
|
| 10 | + | |
| 11 | - | If Request.QueryString("sd") <> "" Then
|
| 11 | + | |
| 12 | - | If Request.QueryString("b") = "True" Then
|
| 12 | + | For i As Integer = 0 To i < 50 Or i < lst2.Count() |
| 13 | - | btnMarkBilled.Enabled = False |
| 13 | + | c.UpdatePerDayPatientPayAmt(lst2(i).IndID, bid) |
| 14 | - | Else |
| 14 | + | |
| 15 | - | btnMarkBilled.Enabled = True |
| 15 | + | |
| 16 | - | End If |
| 16 | + | lst2.RemoveRange(0, i) |
| 17 | ||
| 18 | - | chkEligible.Checked = Request.QueryString("est")
|
| 18 | + | |
| 19 | - | chkIneligible.Checked = Request.QueryString("ist")
|
| 19 | + | |
| 20 | - | chkCS.Checked = Request.QueryString("csbt")
|
| 20 | + | |
| 21 | - | chkRes.Checked = Request.QueryString("rbt")
|
| 21 | + | |
| 22 | End If | |
| 23 | - | txtStartDate.Text = IIf(Request.QueryString("sd") <> "", Request.QueryString("sd"), txtStartDate.Text)
|
| 23 | + | |
| 24 | - | txtEndDate.Text = IIf(Request.QueryString("ed") <> "", Request.QueryString("ed"), txtEndDate.Text)
|
| 24 | + | End Sub |