Array
(
    [0] => Array
        (
            [booking_id] => 189-1761933600
            [timestamp] => 1761933600
            [created] => 1736782138
            [modified] => 1761133992
            [modified_by_wp] => admin_pj
            [modified_by_wp_id] => 1
            [modified_by_rcp_id] => no_RCP_customer
            [wp_id] => 169969
            [label] => Aoife Mackenzie | G6 Dance/Fitness Studio Fri, October 31st 2025 6:00 pm
            [number_of_timeslots] => 4
            [booking_owner] => 0
            [status] => publish
            [notification_1] => 
            [notification_2] => 
            [chain_id] => 
            [booking_date] => 2025-10-31
            [booking_time] => 18:00
            [booking_duration] => 60
            [timeslot_length] => 15
            [room_id] => 189
            [room_name] => G6 Dance/Fitness Studio
            [organisation_id] => 90
            [organisation_name] => Aoife Mackenzie
            [rcp_user_id] => 123456789
            [wp_user_name] => Hazel Barton
            [wp_user_id] => 299
            [customer_type_id] => 334
            [customer_type_name] => General
            [payment_type] => invoice
            [po_number] => 
            [activity] => Yoga with Aoife
            [attendees_no] => 
            [custom_name] => Aoife Mackenzie
            [custom_mobile] => 07557376034
            [custom_email] => aoifebuckley01@gmail.com
            [total_price] => 18
            [base_price] => 4.5
            [custom_unit_price] => 4.50
            [discount] => 0
            [notes] => 
            [price_used] => 
            [extras] => 
            [equipment] => 
            [layout] => 
            [layout_name] => 
            [dow] => 
            [organisation_reference] => 
            [cancellation_reason] => 
            [cancelled_by] => 
            [cancelled_by_wp_id] => 
            [payment_id] => 
            [payment_due] => 
            [payment_received] => 
            [payment_refunded] => 
        )

    [1] => Array
        (
            [booking_id] => 195-1761927300
            [timestamp] => 1761927300
            [created] => 1747398792
            [modified] => 1747398792
            [modified_by_wp] => 
            [modified_by_wp_id] => 
            [modified_by_rcp_id] => no_RCP_customer
            [wp_id] => 174575
            [label] => Taekwon Do | Annex Gym Hall Fri, October 31st 2025 4:15 pm
            [number_of_timeslots] => 4
            [booking_owner] => 0
            [status] => auto-approved
            [notification_1] => 
            [notification_2] => 
            [chain_id] => 174550
            [booking_date] => 2025-10-31
            [booking_time] => 16:15
            [booking_duration] => 60
            [timeslot_length] => 15
            [room_id] => 195
            [room_name] => Annex Gym Hall
            [organisation_id] => 57
            [organisation_name] => Taekwon Do
            [rcp_user_id] => 78
            [wp_user_name] => Aiden Reiss
            [wp_user_id] => 112
            [customer_type_id] => 334
            [customer_type_name] => General
            [payment_type] => invoice
            [po_number] => 
            [activity] => Taekwon Do
            [attendees_no] => 
            [custom_name] => Dave Clark
            [custom_mobile] => 07816878550
            [custom_email] => davidclarkitf@yahoo.co.uk
            [total_price] => 18
            [base_price] => 4.5
            [custom_unit_price] => 4.50
            [discount] => 0
            [price_used] => base
            [layout] => 759
            [layout_name] => Clear Floor
            [notes] =>  
            [dow] => 5
            [extras] => 
            [equipment] => 
            [payment_due] => 18
        )

    [2] => Array
        (
            [booking_id] => 187-1761919200
            [timestamp] => 1761919200
            [created] => 1761074770
            [modified] => 1761074770
            [modified_by_wp] => 
            [modified_by_wp_id] => 
            [modified_by_rcp_id] => no_RCP_customer
            [wp_id] => 282918
            [label] => Nadine Figueiredo | G2 Arts & Crafts Room Fri, October 31st 2025 2:00 pm
            [number_of_timeslots] => 8
            [booking_owner] => 0
            [status] => paid
            [notification_1] => 
            [notification_2] => 
            [chain_id] => 
            [booking_date] => 2025-10-31
            [booking_time] => 14:00
            [booking_duration] => 120
            [timeslot_length] => 15
            [room_id] => 187
            [room_name] => G2 Arts & Crafts Room
            [organisation_id] => 618
            [organisation_name] => Nadine Figueiredo
            [rcp_user_id] => 628
            [wp_user_name] => Nadine Figueiredo
            [wp_user_id] => 679
            [customer_type_id] => 334
            [customer_type_name] => General
            [payment_type] => upfront
            [po_number] => 
            [activity] => Halloween Party
            [attendees_no] => 30
            [custom_name] => Nadine
            [custom_mobile] => 07940550796
            [custom_email] => dine_figueiredo@hotmail.com
            [total_price] => 30.88
            [base_price] => 3.86
            [custom_unit_price] => 3.86
            [discount] => 0
            [price_used] => base
            [layout] => 115
            [layout_name] => Classroom
            [notes] =>  P1 children from Loretto RC Primary School. This is a private event, not organised by the school.
            [dow] => 5
            [extras] => 
            [equipment] => 
            [payment_due] => 0
            [payment_id] => Array
                (
                    [0] => 1450
                )

            [payment_received] => 30.88
        )

    [3] => Array
        (
            [booking_id] => 188-1761919200
            [timestamp] => 1761919200
            [created] => 1754388026
            [modified] => 1754388026
            [modified_by_wp] => 
            [modified_by_wp_id] => 
            [modified_by_rcp_id] => no_RCP_customer
            [wp_id] => 224612
            [label] => Queen Margaret University | G3 General Meeting Room Fri, October 31st 2025 2:00 pm
            [number_of_timeslots] => 12
            [booking_owner] => 0
            [status] => paid
            [notification_1] => 
            [notification_2] => 
            [chain_id] => 
            [booking_date] => 2025-10-31
            [booking_time] => 14:00
            [booking_duration] => 180
            [timeslot_length] => 15
            [room_id] => 188
            [room_name] => G3 General Meeting Room
            [organisation_id] => 540
            [organisation_name] => Queen Margaret University
            [rcp_user_id] => 550
            [wp_user_name] => Anthony Schrag
            [wp_user_id] => 601
            [customer_type_id] => 334
            [customer_type_name] => General
            [payment_type] => upfront
            [po_number] => 
            [activity] => Classroom
            [attendees_no] => 12
            [custom_name] => Anthony Schrag
            [custom_mobile] => 07971643335
            [custom_email] => aschrag@qmu.ac.uk
            [total_price] => 46.32
            [base_price] => 3.86
            [custom_unit_price] => 3.86
            [discount] => 0
            [price_used] => base
            [layout] => 114
            [layout_name] => Boardroom
            [notes] =>  Please can we have a projector set up
            [dow] => 5
            [extras] => 
            [equipment] => 
            [payment_due] => 0
            [payment_id] => Array
                (
                    [0] => 1382
                )

            [payment_received] => 46.32
        )

    [4] => Array
        (
            [booking_id] => 190-1761911100
            [timestamp] => 1761911100
            [created] => 1761752785
            [modified] => 1761752785
            [modified_by_wp] => 
            [modified_by_wp_id] => 
            [modified_by_rcp_id] => no_RCP_customer
            [wp_id] => 292338
            [label] => MELD (Mid and East Lothian Drugs) | G1 General Meeting Room Fri, October 31st 2025 11:45 am
            [number_of_timeslots] => 4
            [booking_owner] => 0
            [status] => auto-approved
            [notification_1] => 
            [notification_2] => 
            [chain_id] => 
            [booking_date] => 2025-10-31
            [booking_time] => 11:45
            [booking_duration] => 60
            [timeslot_length] => 15
            [room_id] => 190
            [room_name] => G1 General Meeting Room
            [organisation_id] => 84
            [organisation_name] => MELD (Mid and East Lothian Drugs)
            [rcp_user_id] => 78
            [wp_user_name] => Aiden Reiss
            [wp_user_id] => 112
            [customer_type_id] => 292
            [customer_type_name] => Non-Profit
            [payment_type] => invoice
            [po_number] => 
            [activity] => Supporting clients with substance use
            [attendees_no] => 
            [custom_name] => Linda Bernard
            [custom_mobile] => +447746749616
            [custom_email] => lindabernard@meld-drugs.org.uk
            [total_price] => 8.23
            [base_price] => 3.86
            [custom_unit_price] => 2.05
            [discount] => 
            [price_used] => custom
            [layout] => 759
            [layout_name] => Clear Floor
            [notes] =>  
            [dow] => 5
            [extras] => 
            [equipment] => 
            [payment_due] => 8.23
        )

    [5] => Array
        (
            [booking_id] => 187-1761908400
            [timestamp] => 1761908400
            [created] => 1759851476
            [modified] => 1761651252
            [modified_by_wp] => Aiden Reiss
            [modified_by_wp_id] => 112
            [modified_by_rcp_id] => 78
            [wp_id] => 258202
            [label] => Neighbourhood Networks | G2 Arts & Crafts Room Fri, October 31st 2025 11:00 am
            [number_of_timeslots] => 8
            [booking_owner] => 0
            [status] => auto-approved
            [notification_1] => 
            [notification_2] => 1761890523
            [chain_id] => 
            [booking_date] => 2025-10-31
            [booking_time] => 11:00
            [booking_duration] => 120
            [timeslot_length] => 15
            [room_id] => 187
            [room_name] => G2 Arts & Crafts Room
            [organisation_id] => 378
            [organisation_name] => Neighbourhood Networks
            [rcp_user_id] => 78
            [wp_user_name] => Jane Riley
            [wp_user_id] => 436
            [customer_type_id] => 292
            [customer_type_name] => Non-Profit
            [payment_type] => invoice
            [po_number] => 
            [activity] => 
            [attendees_no] => 
            [custom_name] => Jane Riley
            [custom_mobile] => 01414401005
            [custom_email] => info@neighbourhoodnetworks.org
            [total_price] => 16.4
            [base_price] => 2.05
            [custom_unit_price] => 2.05
            [discount] => 
            [price_used] => base
            [layout] => 7701
            [layout_name] => Craft
            [notes] =>   
            [dow] => 5
            [extras] => 
            [equipment] => 
            [payment_due] => 16.4
        )

    [6] => Array
        (
            [booking_id] => 189-1761906600
            [timestamp] => 1761906600
            [created] => 1737637218
            [modified] => 1737637218
            [modified_by_wp] => 
            [modified_by_wp_id] => 
            [modified_by_rcp_id] => no_RCP_customer
            [wp_id] => 171376
            [label] => Fisherrow Hub | G6 Dance/Fitness Studio Fri, October 31st 2025 10:30 am
            [number_of_timeslots] => 6
            [booking_owner] => 0
            [status] => auto-approved
            [notification_1] => 
            [notification_2] => 
            [chain_id] => 171339
            [booking_date] => 2025-10-31
            [booking_time] => 10:30
            [booking_duration] => 90
            [timeslot_length] => 15
            [room_id] => 189
            [room_name] => G6 Dance/Fitness Studio
            [organisation_id] => 476
            [organisation_name] => Fisherrow Hub
            [rcp_user_id] => 78
            [wp_user_name] => Aiden Reiss
            [wp_user_id] => 112
            [customer_type_id] => 292
            [customer_type_name] => Non-Profit
            [payment_type] => invoice
            [po_number] => 
            [activity] => Drama
            [attendees_no] => 
            [custom_name] => david rowse
            [custom_mobile] => 07725218157
            [custom_email] => drowse@eastlothian.gov.uk
            [total_price] => 18
            [base_price] => 4.5
            [custom_unit_price] => 3.00
            [discount] => 
            [price_used] => custom
            [layout] => 759
            [layout_name] => Clear Floor
            [notes] =>  16 chairs around outside of room
            [dow] => 5
            [extras] => 
            [equipment] => 
            [payment_due] => 18
        )

    [7] => Array
        (
            [booking_id] => 188-1761904800
            [timestamp] => 1761904800
            [created] => 1760433472
            [modified] => 1760433472
            [modified_by_wp] => 
            [modified_by_wp_id] => 
            [modified_by_rcp_id] => no_RCP_customer
            [wp_id] => 261701
            [label] => Musselburgh CAB | G3 General Meeting Room Fri, October 31st 2025 10:00 am
            [number_of_timeslots] => 8
            [booking_owner] => 0
            [status] => auto-approved
            [notification_1] => 
            [notification_2] => 
            [chain_id] => 
            [booking_date] => 2025-10-31
            [booking_time] => 10:00
            [booking_duration] => 120
            [timeslot_length] => 15
            [room_id] => 188
            [room_name] => G3 General Meeting Room
            [organisation_id] => 108
            [organisation_name] => Musselburgh CAB
            [rcp_user_id] => 78
            [wp_user_name] => Aiden Reiss
            [wp_user_id] => 112
            [customer_type_id] => 292
            [customer_type_name] => Non-Profit
            [payment_type] => invoice
            [po_number] => 
            [activity] => Board Meeting 
            [attendees_no] => 5
            [custom_name] => Gavin Douglas 
            [custom_mobile] => 01316532748
            [custom_email] => ashley.gray@musselburghcab.org.uk
            [total_price] => 16.47
            [base_price] => 3.86
            [custom_unit_price] => 2.05
            [discount] => 
            [price_used] => custom
            [layout] => 114
            [layout_name] => Boardroom
            [notes] =>  set up for 5 people 
            [dow] => 5
            [extras] => 
            [equipment] => 
            [payment_due] => 16.47
        )

    [8] => Array
        (
            [booking_id] => 195-1761904800
            [timestamp] => 1761904800
            [created] => 1761308119
            [modified] => 1761308119
            [modified_by_wp] => 
            [modified_by_wp_id] => 
            [modified_by_rcp_id] => no_RCP_customer
            [wp_id] => 283378
            [label] => Able Creative Arts | Annex Gym Hall Fri, October 31st 2025 10:00 am
            [number_of_timeslots] => 16
            [booking_owner] => 0
            [status] => auto-approved
            [notification_1] => 
            [notification_2] => 
            [chain_id] => 
            [booking_date] => 2025-10-31
            [booking_time] => 10:00
            [booking_duration] => 240
            [timeslot_length] => 15
            [room_id] => 195
            [room_name] => Annex Gym Hall
            [organisation_id] => 37
            [organisation_name] => Able Creative Arts
            [organisation_reference] => 
            [rcp_user_id] => 78
            [wp_user_name] => Aiden Reiss
            [wp_user_id] => 112
            [customer_type_id] => 292
            [customer_type_name] => Non-Profit
            [payment_type] => invoice
            [po_number] => 
            [activity] => Able Creative Arts
            [attendees_no] => 
            [custom_name] => Keith McDougall
            [custom_mobile] => 07713682982
            [custom_email] => k.mcd72@hotmail.co.uk
            [total_price] => 39.51
            [base_price] => 4.63
            [custom_unit_price] => 2.46
            [discount] => 
            [price_used] => custom
            [layout] => 759
            [layout_name] => Clear Floor
            [notes] =>  
            [dow] => 5
            [extras] => 
            [equipment] => 
            [payment_due] => 39.51
        )

    [9] => Array
        (
            [booking_id] => 190-1761902100
            [timestamp] => 1761902100
            [created] => 1747759765
            [modified] => 1747759765
            [modified_by_wp] => 
            [modified_by_wp_id] => 
            [modified_by_rcp_id] => no_RCP_customer
            [wp_id] => 176126
            [label] => Music with Jackie | G1 General Meeting Room Fri, October 31st 2025 9:15 am
            [number_of_timeslots] => 9
            [booking_owner] => 0
            [status] => auto-approved
            [notification_1] => 
            [notification_2] => 
            [chain_id] => 176104
            [booking_date] => 2025-10-31
            [booking_time] => 09:15
            [booking_duration] => 135
            [timeslot_length] => 15
            [room_id] => 190
            [room_name] => G1 General Meeting Room
            [organisation_id] => 81
            [organisation_name] => Music with Jackie
            [rcp_user_id] => 78
            [wp_user_name] => Aiden Reiss
            [wp_user_id] => 112
            [customer_type_id] => 334
            [customer_type_name] => General
            [payment_type] => invoice
            [po_number] => 
            [activity] => Music class for families with preschool children
            [attendees_no] => 
            [custom_name] => Jackie Macdonald
            [custom_mobile] => 07913744169
            [custom_email] => musicwithjackie@gmail.com
            [total_price] => 34.74
            [base_price] => 3.86
            [custom_unit_price] => 3.86
            [discount] => 0
            [price_used] => base
            [layout] => 759
            [layout_name] => Clear Floor
            [notes] =>  
            [dow] => 5
            [extras] => 
            [equipment] => 
            [payment_due] => 34.74
        )

    [10] => Array
        (
            [booking_id] => 106-1761901200
            [timestamp] => 1761901200
            [created] => 1761144481
            [modified] => 1761144481
            [modified_by_wp] => 
            [modified_by_wp_id] => 
            [modified_by_rcp_id] => no_RCP_customer
            [wp_id] => 283002
            [label] => Angela Gentile | F10 Counselling Room Fri, October 31st 2025 9:00 am
            [number_of_timeslots] => 16
            [booking_owner] => 0
            [status] => paid
            [notification_1] => 
            [notification_2] => 
            [chain_id] => 
            [booking_date] => 2025-10-31
            [booking_time] => 09:00
            [booking_duration] => 240
            [timeslot_length] => 15
            [room_id] => 106
            [room_name] => F10 Counselling Room
            [organisation_id] => 149
            [organisation_name] => Angela Gentile
            [rcp_user_id] => 158
            [wp_user_name] => Angela Gentile
            [wp_user_id] => 192
            [customer_type_id] => 292
            [customer_type_name] => Non-Profit
            [payment_type] => upfront
            [po_number] => 
            [activity] => Interviews
            [attendees_no] => 4
            [custom_name] => Angela Gentile
            [custom_mobile] => 07775409302
            [custom_email] => angela.gentile@circle.scot
            [total_price] => 32.94
            [base_price] => 3.86
            [custom_unit_price] => 2.05
            [discount] => 
            [price_used] => custom
            [layout_name] => organisation-type
            [notes] =>  Interviews for Circle Routes YP worker post, 4 chairs and one small table please. 
            [dow] => 5
            [extras] => 
            [equipment] => 
            [payment_due] => 0
            [payment_id] => Array
                (
                    [0] => 1452
                )

            [payment_received] => 32.94
        )

)