fix bug: include created_at in voucher batch selection for improved tracking, it causing conflix in mysql database, i havent test it though

This commit is contained in:
Focuslinkstech 2025-05-12 15:16:01 +01:00
parent ec6c8af179
commit 5bc0ddaf52

View file

@ -638,6 +638,7 @@ switch ($action) {
$batches = ORM::for_table('tbl_voucher')
->select('batch_name')
->select('created_at')
->distinct()
->where_not_equal('batch_name', '')
->order_by_desc('created_at')