Support forumCategory: Bugsbug-in-export-function
robruifrok@multiweb.nl asked 3 weeks ago

When I export the reservations using Reports->export button, the resulting csv shows workers in the service column. (The actual worker column is correct).

5 Answers
Nikola Loncar Staff answered 3 weeks ago

Hi thanks for reporting, I will have to check that locally.

Best regards,
Nikola

robruifrok@multiweb.nl answered 3 weeks ago

In ajax.php line 846-848 removing \’= $response\’ solves the problem. I don\’t know if that causes problems elsewhere, but $reponse is not used anywhere else in the function \’ajax_export()\’ as far as I can see.

robruifrok@multiweb.nl answered 3 weeks ago

Excuse me I’m not correct problem still exists

robruifrok@multiweb.nl answered 3 weeks ago

The right solution is in ajax.php line 921:
it curently reads:’$app[] = $workers[$arr[‘service’]];’

Should be:’$app[] = $services[$arr[‘service’]];’

Nikola Loncar Staff replied 3 weeks ago

Hi Rob, thanks for that. It’s a bug and it will be fixed in next version. It should be released during this week.

Best regards,
Nikola

Nikola Loncar Staff answered 3 weeks ago

Hi Rob, new version will be available within next hour or two 🙂

Best regards,
Nikola