diff --git a/controller/orderController.php b/controller/orderController.php index fdc2271455a0f4472e1c0c724cb4496e6479d4a2..b7d9b683e6c61dacf9e1099cda9e331b13bf1a8d 100644 --- a/controller/orderController.php +++ b/controller/orderController.php @@ -54,16 +54,13 @@ if(isset($_GET['driverId'])){ if(isset($_POST['pickup'])){ $date = date('Y-m-d H:i:s'); - //echo $date; $pickup = $_POST['pickup']; $destination = $_POST['destination']; $driverId = $_POST['driverId']; $userId = $_POST['userId']; $rating = $_POST['rating']; - $pickup = $_POST['pickup']; $comment = $_POST['comment']; $transaction = new Order(); $transaction->setTransaction($userId, $driverId, $pickup, $destination, $date, $rating, $comment); header('Location: ../view/dashboard.php?id='.$userId); - //echo "berhasil"; }