Reply To: Export "What happen today" xls

Yes, I know ๐Ÿ™‚
RESOLVE:
1. edit ./wp-content/plugins/easyreservations/easyReservations_admin_main.php

a) search
php echo addslashes(__( 'Future' , 'easyReservations' ));?>
b) and below add code

sorry i canยดt post php codes…

2.edit ./wp-content/plugins/easyreservations/lib/modules/import/export.php

a)search
if(isset($_POST['future'])) $time .= "OR (arrival > NOW() AND NOW() NOT BETWEEN arrival AND departure)";
b) and below add code
if(isset($_POST['today'])) $time .= "OR CURDATE() = DATE(arrival) OR CURDATE() = DATE(departure) ";

c) search and edit
$sql_reservations = "SELECT $selects FROM ".$wpdb->prefix ."reservations WHERE ($status) AND ($time)
to
$sql_reservations = "SELECT $selects FROM ".$wpdb->prefix ."reservations WHERE ($status) AND ($time) AND id ORDER BY arrival ASC";
for asc order by arrival ๐Ÿ™‚

download edited files export.php and easyReservations_admin_main.php