@@ 59-65 (lines=7) @@ | ||
56 | $rso = record_opened($id); |
|
57 | $rsc = record_closed($id); |
|
58 | ||
59 | while (($row = $rso->fetch())) |
|
60 | { |
|
61 | if (!is_null($row['amount'])) |
|
62 | { |
|
63 | $created[$row['week']] = $row['amount']; |
|
64 | } |
|
65 | } |
|
66 | ||
67 | while (($row = $rsc->fetch())) |
|
68 | { |
|
@@ 67-73 (lines=7) @@ | ||
64 | } |
|
65 | } |
|
66 | ||
67 | while (($row = $rsc->fetch())) |
|
68 | { |
|
69 | if (!is_null($row['amount'])) |
|
70 | { |
|
71 | $closed[$row['week']] = $row['amount']; |
|
72 | } |
|
73 | } |
|
74 | ||
75 | $opened = array(); |
|
76 | $count = 0; |