Skip to content

Commit c97cea7

Browse files
committed
Remove ACC from calc
Fixes #28
1 parent 464ae24 commit c97cea7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/webapp/resources/js/presentation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1624,7 +1624,7 @@ presenter.doWeekHallRowAdd = function (data) {
16241624
abuPercent = '0.0';
16251625
hallAvail = '0.0';
16261626
} else {
1627-
accAvail = ((data['abu-seconds'] + data['banu-seconds']) / (hall_sched_seconds - data['acc-seconds']) * 100).toFixed(1);
1627+
accAvail = ((data['abu-seconds'] + data['banu-seconds']) / hall_sched_seconds * 100).toFixed(1);
16281628
abuPercent = (data['abu-seconds'] / hall_sched_seconds * 100).toFixed(1);
16291629
hallAvail = ((data['er-seconds'] + data['pcc-seconds']) / hall_sched_seconds * 100).toFixed(1);
16301630
}

0 commit comments

Comments
 (0)