update order details api
This commit is contained in:
@@ -49,7 +49,7 @@ $orderRows = $stmt->fetchAll();
|
||||
// Prepared per le lezioni di un ordine
|
||||
$lessonStmt = $db->prepare("
|
||||
SELECT bc.idbookingclass, bc.bookingstart, bc.status, bc.lostlesson,
|
||||
bc.expirylesson, bc.is_reprogrammed, bc.idservice,
|
||||
bc.expirylesson, bc.idservice,
|
||||
s.servicename
|
||||
FROM bookingclass bc
|
||||
LEFT JOIN service s ON bc.idservice = s.idservice
|
||||
@@ -127,7 +127,6 @@ foreach ($orderRows as $o) {
|
||||
'datetime' => $dateIso,
|
||||
'class_name' => (string) ($l['servicename'] ?? ''),
|
||||
'status' => $label,
|
||||
'is_reprogrammed' => (($l['is_reprogrammed'] ?? 'N') === 'Y'),
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user