File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 6767
6868
6969generate_logs ('New Pending Transaction ' , $ _SESSION ['id ' ].' added a new pending transaction ' );
70- header ('location: ../reciept.php?id= ' .$ id .'&kilo= ' .$ kilo .'&type= ' .$ price_name .'&type_price= ' .$ price .'&products= ' .$ item_total .'&total= ' .$ total );
70+ header ('location: ../reciept.php?id= ' .$ transaction_id .'&kilo= ' .$ kilo .'&type= ' .$ price_name .'&type_price= ' .$ price .'&products= ' .$ item_total .'&total= ' .$ total );
Original file line number Diff line number Diff line change 1010$ sql = 'SELECT id, status, queue_number
1111 FROM ( SELECT id, status, ROW_NUMBER()
1212 OVER (ORDER BY status DESC, kilo ASC) AS queue_number
13- FROM Transactions ) AS subquery WHERE id = :id ' ;
13+ FROM Transactions ) AS subquery WHERE id = :id AND status <= 4 ' ;
1414
1515$ stmt = $ db ->prepare ($ sql );
1616$ stmt ->execute (['id ' => $ id ]);
You can’t perform that action at this time.
0 commit comments