tweak to phone number handling in CSV

This commit is contained in:
2016-06-18 19:16:35 +10:00
parent 5a4ee8054f
commit 1d4af9ac39
2 changed files with 3 additions and 1 deletions

View File

@@ -641,7 +641,7 @@ function booking_csv_report() {
//keep a list of any fields that we need to handle as dates
$datetime_fields = array('booking_outflight_origin_ts', 'booking_outflight_destination_ts', 'booking_rtrnflight_origin_ts',
'booking_rtrnflight_destination_ts', 'booking_timestamp', 'booking_flight_datetime_inbound', 'booking_flight_datetime_outbound');
$number_only_fields = array('booking_postcode', 'booking_mobile', 'booking_phone');
$number_only_fields = array('booking_postcode', 'booking_mobile', 'booking_phone', 'booking_guardian_phone', 'booking_guardian_phone_alt');
//this isn't required since we already have the info directly as a field
//so there is no need to rewrite the ID field with a user-friendly description