Skip to content
Snippets Groups Projects
Commit 823250d6 authored by Aldrich Valentino Halim's avatar Aldrich Valentino Halim
Browse files

minor adjustment on orderController.php

parent df9bcae6
1 merge request!42Projekers - 13515051 - Girvandi Ilyas
......@@ -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";
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment