mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 19:04:52 +00:00
Got Export to CSV to work in Trips will add some more customizations to it
This commit is contained in:
2
post.php
2
post.php
@@ -3877,7 +3877,7 @@ if(isset($_GET['force_recurring'])){
|
||||
|
||||
if(isset($_GET['export_trips_csv'])){
|
||||
//get records from database
|
||||
$query = $db->query("SELECT * FROM trips WHERE company_id = $session_company_id ORDER BY trip_date DESC");
|
||||
$query = mysqli_query($mysqli,"SELECT * FROM trips WHERE company_id = $session_company_id ORDER BY trip_date DESC");
|
||||
|
||||
if($query->num_rows > 0){
|
||||
$delimiter = ",";
|
||||
|
||||
Reference in New Issue
Block a user