1
0
mirror of https://github.com/fspc/Yellow-Bike-Database.git synced 2025-02-23 01:03:23 -05:00

Removes an uncessary function call and callback return that was used to Stand Time which was replaced by accurate code in transactions.js.

This commit is contained in:
Jonathan Rosenbaum 2017-08-07 22:41:48 +00:00
parent c814e49031
commit 609078a60d

View File

@ -251,9 +251,7 @@ $membership_discount = MEMBERSHIP_DISCOUNT;
$total = $stand_time * $stand_time_hourly_rate; $total = $stand_time * $stand_time_hourly_rate;
$stand_time_array = array("total" => $total, "hours" => $hours, "minutes" => $minutes, "answer" => $answer); $stand_time_array = array("total" => $total, "hours" => $hours, "minutes" => $minutes, "answer" => $answer);
if(membership_benefits($_POST['contact_id'])) {
$stand_time_array["membership"] = true;
}
echo json_encode($stand_time_array); echo json_encode($stand_time_array);
} // end if time_ins } // end if time_ins