query=SELECT * FROM skyrunjoomla.srms_locations l LEFT JOIN skyrunjoomla.srms_location_text lt on lt.location_id = l.id WHERE website_path like '%/subdomains/whitefish/httpdocs%'
Running in debug mode from : FISH path=/var/www/vhosts/skyrun.com/subdomains/whitefish/httpdocs
running in debug mode
running with today =2020-09-27
list of reservations potentially due:
Array ( [0] => stdClass Object ( [parent_id] => [date_time] => 2019-09-20 09:06:16 [full_name] => Judy Burghart [email] => burghart58@yahoo.com [phone_number] => 7854307497 [arrival_date] => 2021-07-28 [departure_date] => 2021-08-01 [Reservation_ID] => 829 [madeby] => 1 [made_by_other] => RedAwning_US [code_used] => REDAWNING OTHERO [charges] => 3501.39 [payments] => 0.00 ) [1] => stdClass Object ( [parent_id] => [date_time] => 2019-11-08 14:05:35 [full_name] => Marilyn Hochstein [email] => marilynhochstein@gmail.com [phone_number] => 4109378946 [arrival_date] => 2021-08-11 [departure_date] => 2021-08-17 [Reservation_ID] => 877 [madeby] => 1 [made_by_other] => SKYRUN [code_used] => [charges] => 5949.60 [payments] => 3132.30 ) [2] => stdClass Object ( [parent_id] => [date_time] => 2019-12-02 23:36:13 [full_name] => Theresa Chang [email] => theresa-heab45gt4ylcg322@guest.airbnb.com [phone_number] => 8134162615 [arrival_date] => 2021-02-26 [departure_date] => 2021-03-02 [Reservation_ID] => 890 [madeby] => 1 [made_by_other] => AIRBNB [code_used] => AIRBNBO [charges] => 4028.01 [payments] => 0.00 ) [3] => stdClass Object ( [parent_id] => [date_time] => 2019-12-19 16:39:52 [full_name] => Steven Hoek [email] => steve.hoek@gmail.com [phone_number] => 6168569242 [arrival_date] => 2021-06-01 [departure_date] => 2021-06-05 [Reservation_ID] => 949 [madeby] => 1471 [made_by_other] => [code_used] => [charges] => 1651.14 [payments] => 918.52 ) [4] => stdClass Object ( [parent_id] => [date_time] => 2020-01-01 16:20:31 [full_name] => Jolene Brink [email] => jolene-v3d0cn0weqfcqxhy@guest.airbnb.com [phone_number] => 4062417042 [arrival_date] => 2021-06-25 [departure_date] => 2021-06-27 [Reservation_ID] => 1002 [madeby] => 1 [made_by_other] => AIRBNB [code_used] => AIRBNBO [charges] => 500.64 [payments] => 0.00 ) [5] => stdClass Object ( [parent_id] => [date_time] => 2020-01-03 19:45:32 [full_name] => Joseph Mecca [email] => meccanism12@gmail.com [phone_number] => 9045353595 [arrival_date] => 2020-12-28 [departure_date] => 2021-01-02 [Reservation_ID] => 1013 [madeby] => 1 [made_by_other] => VRBO [code_used] => VRBOO [charges] => 3676.43 [payments] => 1870.21 ) [6] => stdClass Object ( [parent_id] => [date_time] => 2020-01-15 20:11:48 [full_name] => Susanne Morris [email] => susanne117@hotmail.com [phone_number] => 7244620535 [arrival_date] => 2021-07-21 [departure_date] => 2021-07-28 [Reservation_ID] => 1039 [madeby] => 1 [made_by_other] => SKYRUN [code_used] => WHITESALE [charges] => 3292.37 [payments] => 1646.18 ) [7] => stdClass Object ( [parent_id] => [date_time] => 2020-01-19 09:21:41 [full_name] => Ruth Ann Juliano [email] => ajuliano430@yahoo.com [phone_number] => 2484770838 [arrival_date] => 2021-07-17 [departure_date] => 2021-07-23 [Reservation_ID] => 1050 [madeby] => 1 [made_by_other] => VRBO [code_used] => VRBOO [charges] => 2036.91 [payments] => 1018.45 ) [8] => stdClass Object ( [parent_id] => [date_time] => 2020-01-22 08:27:50 [full_name] => Cindy Eldridge [email] => cindy.eldridge@gmail.com [phone_number] => 8595524289 [arrival_date] => 2020-12-22 [departure_date] => 2020-12-27 [Reservation_ID] => 1063 [madeby] => 1000000000 [made_by_other] => [code_used] => [charges] => 3389.44 [payments] => 1694.73 ) [9] => stdClass Object ( [parent_id] => [date_time] => 2020-03-08 15:39:08 [full_name] => Ryan Hurley [email] => ryan-cssfx4l03q0968y3@guest.airbnb.com [phone_number] => 3014617450 [arrival_date] => 2020-09-01 [departure_date] => 2020-09-07 [Reservation_ID] => 1164 [madeby] => 1 [made_by_other] => AIRBNB [code_used] => AIRBNBO [charges] => 976.61 [payments] => 976.60 ) [10] => stdClass Object ( [parent_id] => [date_time] => 2020-03-10 20:53:18 [full_name] => John Buxton [email] => jfbuxton88@live.com [phone_number] => 9515514788 [arrival_date] => 2020-12-25 [departure_date] => 2020-12-30 [Reservation_ID] => 1166 [madeby] => 1 [made_by_other] => SKYRUN-SKYR [code_used] => SKYR [charges] => 9137.10 [payments] => 4568.55 ) [11] => stdClass Object ( [parent_id] => [date_time] => 2020-04-22 11:22:34 [full_name] => Dakota Brewer [email] => dakotabrewer32@gmail.com [phone_number] => 4142385456 [arrival_date] => 2021-02-22 [departure_date] => 2021-02-27 [Reservation_ID] => 1194 [madeby] => 1000000000 [made_by_other] => [code_used] => [charges] => 2415.34 [payments] => 1207.67 ) [12] => stdClass Object ( [parent_id] => [date_time] => 2020-05-15 12:56:59 [full_name] => Heidi Fazio [email] => heidifazio@me.com [phone_number] => 6514919080 [arrival_date] => 2020-12-23 [departure_date] => 2021-01-01 [Reservation_ID] => 1208 [madeby] => 1 [made_by_other] => SKYRUN [code_used] => [charges] => 6722.93 [payments] => 3549.52 ) [13] => stdClass Object ( [parent_id] => [date_time] => 2020-06-02 10:44:56 [full_name] => Michael Steffen [email] => lonestarswing@yahoo.com [phone_number] => 4036697708 [arrival_date] => 2021-07-15 [departure_date] => 2021-07-19 [Reservation_ID] => 1218 [madeby] => 1 [made_by_other] => SKYRUN [code_used] => [charges] => 1060.70 [payments] => 530.35 ) [14] => stdClass Object ( [parent_id] => [date_time] => 2020-06-15 07:38:34 [full_name] => Craig Brown [email] => cbrown@nksfb.com [phone_number] => 4076164034 [arrival_date] => 2020-12-30 [departure_date] => 2021-01-04 [Reservation_ID] => 1256 [madeby] => 1 [made_by_other] => VRBO [code_used] => VRBOO [charges] => 9342.59 [payments] => 4752.68 ) [15] => stdClass Object ( [parent_id] => [date_time] => 2020-07-08 16:10:59 [full_name] => Maverick Lewis [email] => mavericklewis22@yahoo.com [phone_number] => 2103941373 [arrival_date] => 2021-01-06 [departure_date] => 2021-01-11 [Reservation_ID] => 1341 [madeby] => 1 [made_by_other] => HOMEAWAY_US [code_used] => VRBOO [charges] => 2123.41 [payments] => 1079.85 ) [16] => stdClass Object ( [parent_id] => [date_time] => 2020-07-13 08:28:55 [full_name] => Mark Mansheim [email] => mark-bdvjdj4hn9wgfvd7@guest.airbnb.com [phone_number] => 8083541985 [arrival_date] => 2020-09-02 [departure_date] => 2020-09-06 [Reservation_ID] => 1368 [madeby] => 1 [made_by_other] => AIRBNB [code_used] => AIRBNBO [charges] => 517.99 [payments] => 517.98 ) [17] => stdClass Object ( [parent_id] => [date_time] => 2020-08-07 12:02:43 [full_name] => Evan Miller [email] => evan-uwtmvcmu93gmf79h@guest.airbnb.com [phone_number] => 2522168858 [arrival_date] => 2020-09-14 [departure_date] => 2020-09-16 [Reservation_ID] => 1433 [madeby] => 1 [made_by_other] => AIRBNB [code_used] => AIRBNBO [charges] => 456.88 [payments] => 456.87 ) [18] => stdClass Object ( [parent_id] => [date_time] => 2020-08-09 19:46:35 [full_name] => Alan Poon [email] => alan-601ga07bmfq0a3gm@guest.airbnb.com [phone_number] => 7348129765 [arrival_date] => 2020-09-10 [departure_date] => 2020-09-12 [Reservation_ID] => 1435 [madeby] => 1 [made_by_other] => AIRBNB [code_used] => AIRBNBO [charges] => 456.88 [payments] => 456.87 ) [19] => stdClass Object ( [parent_id] => [date_time] => 2020-08-12 12:12:37 [full_name] => Richard LaBonge [email] => info@lhpman.com [phone_number] => 2156307155 [arrival_date] => 2021-07-20 [departure_date] => 2021-07-24 [Reservation_ID] => 1444 [madeby] => 1 [made_by_other] => VRBO [code_used] => VRBOO [charges] => 1084.26 [payments] => 551.41 ) [20] => stdClass Object ( [parent_id] => [date_time] => 2020-08-12 22:04:30 [full_name] => Anarae Nowlan [email] => anarae-f0a1127pqec42ka4@guest.airbnb.com [phone_number] => 7025335341 [arrival_date] => 2020-09-12 [departure_date] => 2020-09-14 [Reservation_ID] => 1449 [madeby] => 1 [made_by_other] => AIRBNB [code_used] => AIRBNBO [charges] => 456.88 [payments] => 456.87 ) [21] => stdClass Object ( [parent_id] => [date_time] => 2020-08-19 06:09:44 [full_name] => Grant Peterson [email] => grant-vj2iqo30cyrxtav0@guest.airbnb.com [phone_number] => 3202926200 [arrival_date] => 2020-09-04 [departure_date] => 2020-09-09 [Reservation_ID] => 1479 [madeby] => 1 [made_by_other] => AIRBNB [code_used] => AIRBNBO [charges] => 1939.79 [payments] => 1939.78 ) [22] => stdClass Object ( [parent_id] => [date_time] => 2020-08-19 17:18:59 [full_name] => Lance Brooks [email] => lance@me.com [phone_number] => 9729746335 [arrival_date] => 2020-12-27 [departure_date] => 2021-01-03 [Reservation_ID] => 1482 [madeby] => 1 [made_by_other] => VRBO [code_used] => VRBOO [charges] => 13708.23 [payments] => 6973.38 ) [23] => stdClass Object ( [parent_id] => [date_time] => 2020-08-25 16:45:05 [full_name] => Jason Winkler [email] => jasonwinkler1@hotmail.com [phone_number] => 9252009999 [arrival_date] => 2021-01-15 [departure_date] => 2021-01-18 [Reservation_ID] => 1500 [madeby] => 1 [made_by_other] => SKYRUN [code_used] => [charges] => 1181.32 [payments] => 590.66 ) [24] => stdClass Object ( [parent_id] => [date_time] => 2020-08-27 12:09:00 [full_name] => Rich Aronwald [email] => richaronwald@aol.com [phone_number] => 9085070735 [arrival_date] => 2021-01-27 [departure_date] => 2021-02-28 [Reservation_ID] => 1502 [madeby] => 1 [made_by_other] => [code_used] => [charges] => 24500.00 [payments] => 12500.00 ) [25] => stdClass Object ( [parent_id] => [date_time] => 2020-08-27 13:14:07 [full_name] => James Vertino [email] => james-tp9c37ey1n6k7mgl@guest.airbnb.com [phone_number] => 9376540970 [arrival_date] => 2020-09-04 [departure_date] => 2020-09-07 [Reservation_ID] => 1503 [madeby] => 1 [made_by_other] => AIRBNB [code_used] => AIRBNBO [charges] => 2710.19 [payments] => 2710.18 ) [26] => stdClass Object ( [parent_id] => [date_time] => 2020-09-06 08:55:59 [full_name] => Andrea Banty [email] => andrea-xzl1ixfooo1bfoyc@guest.airbnb.com [phone_number] => 2034149547 [arrival_date] => 2020-09-25 [departure_date] => 2020-09-29 [Reservation_ID] => 1521 [madeby] => 1 [made_by_other] => AIRBNB [code_used] => AIRBNBO [charges] => 517.98 [payments] => 0.00 ) [27] => stdClass Object ( [parent_id] => [date_time] => 2020-09-06 11:27:20 [full_name] => Micah Linton [email] => micah@rimrockcompanies.com [phone_number] => 3868671403 [arrival_date] => 2020-09-11 [departure_date] => 2020-09-14 [Reservation_ID] => 1522 [madeby] => 1 [made_by_other] => AIRBNB [code_used] => AIRBNBO [charges] => 2710.19 [payments] => 2710.18 ) [28] => stdClass Object ( [parent_id] => [date_time] => 2020-09-07 11:07:52 [full_name] => Stephanie Reed [email] => stephanie-auuri6qehi64jlpe@guest.airbnb.com [phone_number] => 7133969224 [arrival_date] => 2021-02-14 [departure_date] => 2021-02-20 [Reservation_ID] => 1524 [madeby] => 1 [made_by_other] => AIRBNB [code_used] => AIRBNBO [charges] => 6755.06 [payments] => 0.00 ) [29] => stdClass Object ( [parent_id] => [date_time] => 2020-09-08 09:06:11 [full_name] => Phoebe Hankins [email] => phoebehankins@gmail.com [phone_number] => 4152036652 [arrival_date] => 2021-01-18 [departure_date] => 2021-02-06 [Reservation_ID] => 1534 [madeby] => 1 [made_by_other] => SKYRUN [code_used] => [charges] => 6658.00 [payments] => 3329.00 ) [30] => stdClass Object ( [parent_id] => [date_time] => 2020-09-08 15:09:56 [full_name] => Chris Beels [email] => chris.beels@gmail.com [phone_number] => 9175430791 [arrival_date] => 2021-02-14 [departure_date] => 2021-02-20 [Reservation_ID] => 1535 [madeby] => 1 [made_by_other] => SKYRUN-SKYR [code_used] => SKYR [charges] => 3520.49 [payments] => 1760.24 ) [31] => stdClass Object ( [parent_id] => [date_time] => 2020-09-08 16:20:05 [full_name] => Andrew Nitschke [email] => andrew-ok4bvtqjky9al1ep@guest.airbnb.com [phone_number] => 5095998024 [arrival_date] => 2020-10-02 [departure_date] => 2020-10-04 [Reservation_ID] => 1536 [madeby] => 1 [made_by_other] => AIRBNB [code_used] => AIRBNBO [charges] => 399.65 [payments] => 0.00 ) [32] => stdClass Object ( [parent_id] => [date_time] => 2020-09-09 17:07:30 [full_name] => Kristin Savell [email] => kristinsavell@me.com [phone_number] => 6128898119 [arrival_date] => 2020-12-28 [departure_date] => 2021-01-01 [Reservation_ID] => 1540 [madeby] => 1 [made_by_other] => SKYRUN-SKYR [code_used] => SKYR [charges] => 2906.61 [payments] => 1453.31 ) [33] => stdClass Object ( [parent_id] => [date_time] => 2020-09-11 06:08:27 [full_name] => Alexis Kensak [email] => alcave02@gmail.com [phone_number] => 7122297257 [arrival_date] => 2020-09-22 [departure_date] => 2020-09-26 [Reservation_ID] => 1543 [madeby] => 1 [made_by_other] => RedAwning_US [code_used] => REDAWNING OTHERO [charges] => 1671.13 [payments] => 0.00 ) [34] => stdClass Object ( [parent_id] => [date_time] => 2020-09-11 14:54:06 [full_name] => Marti Shutt [email] => marti-vi30u5nm6ovch32l@guest.airbnb.com [phone_number] => 7634398886 [arrival_date] => 2020-12-09 [departure_date] => 2020-12-13 [Reservation_ID] => 1545 [madeby] => 1 [made_by_other] => AIRBNB [code_used] => AIRBNBO [charges] => 1773.18 [payments] => 0.00 ) [35] => stdClass Object ( [parent_id] => [date_time] => 2020-09-12 23:05:35 [full_name] => cristi sullivan [email] => cravesully@gmail.com [phone_number] => 4062189053 [arrival_date] => 2020-12-30 [departure_date] => 2021-01-03 [Reservation_ID] => 1547 [madeby] => 1 [made_by_other] => VRBO [code_used] => VRBOO [charges] => 2945.21 [payments] => 1498.25 ) [36] => stdClass Object ( [parent_id] => [date_time] => 2020-09-13 22:33:17 [full_name] => Grace Wallace [email] => grace-lsx2g9gxvltl4nvn@guest.airbnb.com [phone_number] => 7655462890 [arrival_date] => 2020-09-26 [departure_date] => 2020-09-30 [Reservation_ID] => 1549 [madeby] => 1 [made_by_other] => AIRBNB [code_used] => AIRBNBO [charges] => 698.42 [payments] => 0.00 ) [37] => stdClass Object ( [parent_id] => [date_time] => 2020-09-15 16:02:06 [full_name] => Emily Hurt [email] => emily-dn7hwsqgywuhznkb@guest.airbnb.com [phone_number] => 4045937141 [arrival_date] => 2020-10-09 [departure_date] => 2020-10-12 [Reservation_ID] => 1552 [madeby] => 1 [made_by_other] => AIRBNB [code_used] => AIRBNBO [charges] => 549.02 [payments] => 0.00 ) [38] => stdClass Object ( [parent_id] => [date_time] => 2020-09-21 13:57:12 [full_name] => Cynthia Duren [email] => meramsden@aol.com [phone_number] => 5099283448 [arrival_date] => 2020-12-23 [departure_date] => 2020-12-28 [Reservation_ID] => 1560 [madeby] => 1 [made_by_other] => SKYRUN [code_used] => [charges] => 3594.65 [payments] => 1797.33 ) [39] => stdClass Object ( [parent_id] => [date_time] => 2020-09-22 11:03:48 [full_name] => Sherry Diviney [email] => guest.234312@redawning.com [phone_number] => 5092800102 [arrival_date] => 2020-09-22 [departure_date] => 2020-09-25 [Reservation_ID] => 1561 [madeby] => 1 [made_by_other] => RedAwning_US [code_used] => REDAWNING OTHERO [charges] => 1265.14 [payments] => 379.17 ) )


Checking Reservation=829
dep due=1750.695
payment made already=0.00
today - 7 days=2020-09-27 date reservation taken=2019-09-20
deposit due=1750.695
final pmt due if arrival on 2021-07-28 is before 2020-11-26
no final payment due (yet)
final pmt due=0
query =SELECT * FROM srms_payment_schedule WHERE Reservation_ID = 829 ORDER BY scheduled_date ASC
pmt scheduleArray
(
    [0] => stdClass Object
        (
            [id] => 426
            [date_time] => 2019-09-20 09:06:16
            [scheduled_date] => 
            [payment_type] => check
            [cc_pmt_id] => 
            [echeck_pmt_id] => 
            [reservation_id] => 829
            [amount] => 0
            [type_of_payment] => deposit
            [date_paid] => 
        )

    [1] => stdClass Object
        (
            [id] => 427
            [date_time] => 2019-09-20 09:06:17
            [scheduled_date] => 2020-08-06 00:00:00
            [payment_type] => check
            [cc_pmt_id] => 
            [echeck_pmt_id] => 
            [reservation_id] => 829
            [amount] => 
            [type_of_payment] => final
            [date_paid] => 
        )

)
today =2020-09-27
scheduled date=1969-12-31
adding deposit schedule of 0 for date
today =2020-09-27
scheduled date=2020-08-06
setting final amt to 3501.39 due to final pmt date being past and final amt blank (meaning pay all remaining)
paymentstomake:
Array ( [1] => stdClass Object ( [schedid] => 426 [type] => check [cc_pmt_id] => [echeck_pmt_id] => [amount] => 0 [payment_notes] => Deposit overridden and autopaid by SkyTrax ) [2] => stdClass Object ( [schedid] => 427 [type] => check [cc_pmt_id] => [echeck_pmt_id] => [amount] => 3501.39 [payment_notes] => Final Payment overridden and autopaid by SkyTrax ) )
this payment due = 0
skipping sched pmt since less than $0
this payment due = 3501.39
going into createpayment with paymenttomake->payment_notes = Final Payment overridden and autopaid by SkyTrax
creating payment for 829 for $3501.39: payment type=check with notes Final Payment overridden and autopaid by SkyTrax
FINAL payment due calculated = 3501.39
ready to put in pmt for:stdClass Object
(
    [type] => check
    [cc_pmt_id] => 
    [echeck_pmt_id] => 
    [amount] => 3501.39
    [payment_notes] => Final Payment overridden and autopaid by SkyTrax
    [payment_type] => check
    [arrival_date] => 2021-07-28
    [departure_date] => 2021-08-01
    [card_full_name] => Judy Burghart
    [guest_email] => burghart58@yahoo.com
    [guest_phone] => 7854307497
    [reservation_id] => 829
)
rez to decide on processing or notstdClass Object
(
    [parent_id] => 
    [date_time] => 2019-09-20 09:06:16
    [full_name] => Judy Burghart
    [email] => burghart58@yahoo.com
    [phone_number] => 7854307497
    [arrival_date] => 2021-07-28
    [departure_date] => 2021-08-01
    [Reservation_ID] => 829
    [madeby] => 1
    [made_by_other] => RedAwning_US
    [code_used] => REDAWNING OTHERO
    [charges] => 3501.39
    [payments] => 0.00
    [source] => RedAwning_US
)

checking airbnbo in string:
date= group= rezsource=1
total dep and final due prior to taking off already made pmts = 3501.39
processing non-sched pmt of 0
skipping non sched pmt since less than $0


Checking Reservation=877
dep due=2974.8
payment made already=3132.30
today - 7 days=2020-09-27 date reservation taken=2019-11-08
ignoring payment due, already paid, within grace period or amt due lt $5
deposit due=0
final pmt due if arrival on 2021-08-11 is before 2020-11-26
no final payment due (yet)
final pmt due=0
query =SELECT * FROM srms_payment_schedule WHERE Reservation_ID = 877 ORDER BY scheduled_date ASC
total dep and final due prior to taking off already made pmts = 0
processing non-sched pmt of 0
skipping non sched pmt since less than $0


Checking Reservation=890
dep due=2014.005
payment made already=0.00
today - 7 days=2020-09-27 date reservation taken=2019-12-02
deposit due=2014.005
final pmt due if arrival on 2021-02-26 is before 2020-11-26
no final payment due (yet)
final pmt due=0
query =SELECT * FROM srms_payment_schedule WHERE Reservation_ID = 890 ORDER BY scheduled_date ASC
pmt scheduleArray
(
    [0] => stdClass Object
        (
            [id] => 454
            [date_time] => 2019-12-02 23:36:13
            [scheduled_date] => 
            [payment_type] => check
            [cc_pmt_id] => 
            [echeck_pmt_id] => 
            [reservation_id] => 890
            [amount] => 0
            [type_of_payment] => deposit
            [date_paid] => 
        )

    [1] => stdClass Object
        (
            [id] => 455
            [date_time] => 2019-12-02 23:36:13
            [scheduled_date] => 2020-07-25 00:00:00
            [payment_type] => check
            [cc_pmt_id] => 
            [echeck_pmt_id] => 
            [reservation_id] => 890
            [amount] => 
            [type_of_payment] => final
            [date_paid] => 
        )

)
today =2020-09-27
scheduled date=1969-12-31
adding deposit schedule of 0 for date
today =2020-09-27
scheduled date=2020-07-25
setting final amt to 4028.01 due to final pmt date being past and final amt blank (meaning pay all remaining)
paymentstomake:
Array ( [1] => stdClass Object ( [schedid] => 454 [type] => check [cc_pmt_id] => [echeck_pmt_id] => [amount] => 0 [payment_notes] => Deposit overridden and autopaid by SkyTrax ) [2] => stdClass Object ( [schedid] => 455 [type] => check [cc_pmt_id] => [echeck_pmt_id] => [amount] => 4028.01 [payment_notes] => Final Payment overridden and autopaid by SkyTrax ) )
this payment due = 0
skipping sched pmt since less than $0
this payment due = 4028.01
going into createpayment with paymenttomake->payment_notes = Final Payment overridden and autopaid by SkyTrax
creating payment for 890 for $4028.01: payment type=check with notes Final Payment overridden and autopaid by SkyTrax
FINAL payment due calculated = 4028.01
ready to put in pmt for:stdClass Object
(
    [type] => check
    [cc_pmt_id] => 
    [echeck_pmt_id] => 
    [amount] => 4028.01
    [payment_notes] => Final Payment overridden and autopaid by SkyTrax
    [payment_type] => check
    [arrival_date] => 2021-02-26
    [departure_date] => 2021-03-02
    [card_full_name] => Theresa Chang
    [guest_email] => theresa-heab45gt4ylcg322@guest.airbnb.com
    [guest_phone] => 8134162615
    [reservation_id] => 890
)
rez to decide on processing or notstdClass Object
(
    [parent_id] => 
    [date_time] => 2019-12-02 23:36:13
    [full_name] => Theresa Chang
    [email] => theresa-heab45gt4ylcg322@guest.airbnb.com
    [phone_number] => 8134162615
    [arrival_date] => 2021-02-26
    [departure_date] => 2021-03-02
    [Reservation_ID] => 890
    [madeby] => 1
    [made_by_other] => AIRBNB
    [code_used] => AIRBNBO
    [charges] => 4028.01
    [payments] => 0.00
    [source] => AIRBNB
)

checking airbnbo in string: 1
date= group= rezsource=1
total dep and final due prior to taking off already made pmts = 4028.01
processing non-sched pmt of 0
skipping non sched pmt since less than $0


Checking Reservation=949
dep due=825.57
payment made already=918.52
today - 7 days=2020-09-27 date reservation taken=2019-12-19
ignoring payment due, already paid, within grace period or amt due lt $5
deposit due=0
final pmt due if arrival on 2021-06-01 is before 2020-11-26
no final payment due (yet)
final pmt due=0
query =SELECT * FROM srms_payment_schedule WHERE Reservation_ID = 949 ORDER BY scheduled_date ASC
total dep and final due prior to taking off already made pmts = 0
processing non-sched pmt of 0
skipping non sched pmt since less than $0


Checking Reservation=1002
dep due=250.32
payment made already=0.00
today - 7 days=2020-09-27 date reservation taken=2020-01-01
deposit due=250.32
final pmt due if arrival on 2021-06-25 is before 2020-11-26
no final payment due (yet)
final pmt due=0
query =SELECT * FROM srms_payment_schedule WHERE Reservation_ID = 1002 ORDER BY scheduled_date ASC
pmt scheduleArray
(
    [0] => stdClass Object
        (
            [id] => 464
            [date_time] => 2020-01-01 16:20:31
            [scheduled_date] => 
            [payment_type] => check
            [cc_pmt_id] => 
            [echeck_pmt_id] => 
            [reservation_id] => 1002
            [amount] => 0
            [type_of_payment] => deposit
            [date_paid] => 
        )

    [1] => stdClass Object
        (
            [id] => 465
            [date_time] => 2020-01-01 16:20:31
            [scheduled_date] => 2020-07-25 00:00:00
            [payment_type] => check
            [cc_pmt_id] => 
            [echeck_pmt_id] => 
            [reservation_id] => 1002
            [amount] => 
            [type_of_payment] => final
            [date_paid] => 
        )

)
today =2020-09-27
scheduled date=1969-12-31
adding deposit schedule of 0 for date
today =2020-09-27
scheduled date=2020-07-25
setting final amt to 500.64 due to final pmt date being past and final amt blank (meaning pay all remaining)
paymentstomake:
Array ( [1] => stdClass Object ( [schedid] => 464 [type] => check [cc_pmt_id] => [echeck_pmt_id] => [amount] => 0 [payment_notes] => Deposit overridden and autopaid by SkyTrax ) [2] => stdClass Object ( [schedid] => 465 [type] => check [cc_pmt_id] => [echeck_pmt_id] => [amount] => 500.64 [payment_notes] => Final Payment overridden and autopaid by SkyTrax ) )
this payment due = 0
skipping sched pmt since less than $0
this payment due = 500.64
going into createpayment with paymenttomake->payment_notes = Final Payment overridden and autopaid by SkyTrax
creating payment for 1002 for $500.64: payment type=check with notes Final Payment overridden and autopaid by SkyTrax
FINAL payment due calculated = 500.64
ready to put in pmt for:stdClass Object
(
    [type] => check
    [cc_pmt_id] => 
    [echeck_pmt_id] => 
    [amount] => 500.64
    [payment_notes] => Final Payment overridden and autopaid by SkyTrax
    [payment_type] => check
    [arrival_date] => 2021-06-25
    [departure_date] => 2021-06-27
    [card_full_name] => Jolene Brink
    [guest_email] => jolene-v3d0cn0weqfcqxhy@guest.airbnb.com
    [guest_phone] => 4062417042
    [reservation_id] => 1002
)
rez to decide on processing or notstdClass Object
(
    [parent_id] => 
    [date_time] => 2020-01-01 16:20:31
    [full_name] => Jolene Brink
    [email] => jolene-v3d0cn0weqfcqxhy@guest.airbnb.com
    [phone_number] => 4062417042
    [arrival_date] => 2021-06-25
    [departure_date] => 2021-06-27
    [Reservation_ID] => 1002
    [madeby] => 1
    [made_by_other] => AIRBNB
    [code_used] => AIRBNBO
    [charges] => 500.64
    [payments] => 0.00
    [source] => AIRBNB
)

checking airbnbo in string: 1
date= group= rezsource=1
total dep and final due prior to taking off already made pmts = 500.64
processing non-sched pmt of 0
skipping non sched pmt since less than $0


Checking Reservation=1013
dep due=1838.215
payment made already=1870.21
today - 7 days=2020-09-27 date reservation taken=2020-01-03
ignoring payment due, already paid, within grace period or amt due lt $5
deposit due=0
final pmt due if arrival on 2020-12-28 is before 2020-11-26
no final payment due (yet)
final pmt due=0
query =SELECT * FROM srms_payment_schedule WHERE Reservation_ID = 1013 ORDER BY scheduled_date ASC
total dep and final due prior to taking off already made pmts = 0
processing non-sched pmt of 0
skipping non sched pmt since less than $0


Checking Reservation=1039
dep due=1646.185
payment made already=1646.18
today - 7 days=2020-09-27 date reservation taken=2020-01-15
ignoring payment due, already paid, within grace period or amt due lt $5
deposit due=0
final pmt due if arrival on 2021-07-21 is before 2020-11-26
no final payment due (yet)
final pmt due=0
query =SELECT * FROM srms_payment_schedule WHERE Reservation_ID = 1039 ORDER BY scheduled_date ASC
total dep and final due prior to taking off already made pmts = 0
processing non-sched pmt of 0
skipping non sched pmt since less than $0


Checking Reservation=1050
dep due=1018.455
payment made already=1018.45
today - 7 days=2020-09-27 date reservation taken=2020-01-19
ignoring payment due, already paid, within grace period or amt due lt $5
deposit due=0
final pmt due if arrival on 2021-07-17 is before 2020-11-26
no final payment due (yet)
final pmt due=0
query =SELECT * FROM srms_payment_schedule WHERE Reservation_ID = 1050 ORDER BY scheduled_date ASC
total dep and final due prior to taking off already made pmts = 0
processing non-sched pmt of 0
skipping non sched pmt since less than $0


Checking Reservation=1063
dep due=1694.72
payment made already=1694.73
today - 7 days=2020-09-27 date reservation taken=2020-01-22
ignoring payment due, already paid, within grace period or amt due lt $5
deposit due=0
final pmt due if arrival on 2020-12-22 is before 2020-11-26
no final payment due (yet)
final pmt due=0
query =SELECT * FROM srms_payment_schedule WHERE Reservation_ID = 1063 ORDER BY scheduled_date ASC
total dep and final due prior to taking off already made pmts = 0
processing non-sched pmt of 0
skipping non sched pmt since less than $0


Checking Reservation=1164
dep due=488.305
payment made already=976.60
today - 7 days=2020-09-27 date reservation taken=2020-03-08
ignoring payment due, already paid, within grace period or amt due lt $5
deposit due=0
final pmt due if arrival on 2020-09-01 is before 2020-11-26
final pmt due=976.61
query =SELECT * FROM srms_payment_schedule WHERE Reservation_ID = 1164 ORDER BY scheduled_date ASC
pmt scheduleArray
(
    [0] => stdClass Object
        (
            [id] => 552
            [date_time] => 2020-03-08 15:39:08
            [scheduled_date] => 
            [payment_type] => check
            [cc_pmt_id] => 
            [echeck_pmt_id] => 
            [reservation_id] => 1164
            [amount] => 0
            [type_of_payment] => deposit
            [date_paid] => 
        )

    [1] => stdClass Object
        (
            [id] => 553
            [date_time] => 2020-03-08 15:39:08
            [scheduled_date] => 2020-09-05 00:00:00
            [payment_type] => check
            [cc_pmt_id] => 
            [echeck_pmt_id] => 
            [reservation_id] => 1164
            [amount] => 
            [type_of_payment] => final
            [date_paid] => 
        )

)
today =2020-09-27
scheduled date=1969-12-31
adding deposit schedule of 0 for date
today =2020-09-27
scheduled date=2020-09-05
setting final amt to 0.0099999999999909 due to final pmt date being past and final amt blank (meaning pay all remaining)
paymentstomake:
Array ( [1] => stdClass Object ( [schedid] => 552 [type] => check [cc_pmt_id] => [echeck_pmt_id] => [amount] => -976.6 [payment_notes] => Deposit overridden and autopaid by SkyTrax ) [2] => stdClass Object ( [schedid] => 553 [type] => check [cc_pmt_id] => [echeck_pmt_id] => [amount] => 0.0099999999999909 [payment_notes] => Final Payment overridden and autopaid by SkyTrax ) )
this payment due = -976.6
skipping sched pmt since less than $0
this payment due = 0.0099999999999909
going into createpayment with paymenttomake->payment_notes = Final Payment overridden and autopaid by SkyTrax
creating payment for 1164 for $0.0099999999999909: payment type=check with notes Final Payment overridden and autopaid by SkyTrax
FINAL payment due calculated = 0.0099999999999909
total dep and final due prior to taking off already made pmts = 0.0099999999999909
processing non-sched pmt of 0
skipping non sched pmt since less than $0


Checking Reservation=1166
dep due=4568.55
payment made already=4568.55
today - 7 days=2020-09-27 date reservation taken=2020-03-10
ignoring payment due, already paid, within grace period or amt due lt $5
deposit due=0
final pmt due if arrival on 2020-12-25 is before 2020-11-26
no final payment due (yet)
final pmt due=0
query =SELECT * FROM srms_payment_schedule WHERE Reservation_ID = 1166 ORDER BY scheduled_date ASC
total dep and final due prior to taking off already made pmts = 0
processing non-sched pmt of 0
skipping non sched pmt since less than $0


Checking Reservation=1194
dep due=1207.67
payment made already=1207.67
today - 7 days=2020-09-27 date reservation taken=2020-04-22
ignoring payment due, already paid, within grace period or amt due lt $5
deposit due=0
final pmt due if arrival on 2021-02-22 is before 2020-11-26
no final payment due (yet)
final pmt due=0
query =SELECT * FROM srms_payment_schedule WHERE Reservation_ID = 1194 ORDER BY scheduled_date ASC
total dep and final due prior to taking off already made pmts = 0
processing non-sched pmt of 0
skipping non sched pmt since less than $0


Checking Reservation=1208
dep due=3361.465
payment made already=3549.52
today - 7 days=2020-09-27 date reservation taken=2020-05-15
ignoring payment due, already paid, within grace period or amt due lt $5
deposit due=0
final pmt due if arrival on 2020-12-23 is before 2020-11-26
no final payment due (yet)
final pmt due=0
query =SELECT * FROM srms_payment_schedule WHERE Reservation_ID = 1208 ORDER BY scheduled_date ASC
total dep and final due prior to taking off already made pmts = 0
processing non-sched pmt of 0
skipping non sched pmt since less than $0


Checking Reservation=1218
dep due=530.35
payment made already=530.35
today - 7 days=2020-09-27 date reservation taken=2020-06-02
ignoring payment due, already paid, within grace period or amt due lt $5
deposit due=0
final pmt due if arrival on 2021-07-15 is before 2020-11-26
no final payment due (yet)
final pmt due=0
query =SELECT * FROM srms_payment_schedule WHERE Reservation_ID = 1218 ORDER BY scheduled_date ASC
total dep and final due prior to taking off already made pmts = 0
processing non-sched pmt of 0
skipping non sched pmt since less than $0


Checking Reservation=1256
dep due=4671.295
payment made already=4752.68
today - 7 days=2020-09-27 date reservation taken=2020-06-15
ignoring payment due, already paid, within grace period or amt due lt $5
deposit due=0
final pmt due if arrival on 2020-12-30 is before 2020-11-26
no final payment due (yet)
final pmt due=0
query =SELECT * FROM srms_payment_schedule WHERE Reservation_ID = 1256 ORDER BY scheduled_date ASC
total dep and final due prior to taking off already made pmts = 0
processing non-sched pmt of 0
skipping non sched pmt since less than $0


Checking Reservation=1341
dep due=1061.705
payment made already=1079.85
today - 7 days=2020-09-27 date reservation taken=2020-07-08
ignoring payment due, already paid, within grace period or amt due lt $5
deposit due=0
final pmt due if arrival on 2021-01-06 is before 2020-11-26
no final payment due (yet)
final pmt due=0
query =SELECT * FROM srms_payment_schedule WHERE Reservation_ID = 1341 ORDER BY scheduled_date ASC
total dep and final due prior to taking off already made pmts = 0
processing non-sched pmt of 0
skipping non sched pmt since less than $0


Checking Reservation=1368
dep due=258.995
payment made already=517.98
today - 7 days=2020-09-27 date reservation taken=2020-07-13
ignoring payment due, already paid, within grace period or amt due lt $5
deposit due=0
final pmt due if arrival on 2020-09-02 is before 2020-11-26
final pmt due=517.99
query =SELECT * FROM srms_payment_schedule WHERE Reservation_ID = 1368 ORDER BY scheduled_date ASC
pmt scheduleArray
(
    [0] => stdClass Object
        (
            [id] => 650
            [date_time] => 2020-07-13 08:28:56
            [scheduled_date] => 
            [payment_type] => check
            [cc_pmt_id] => 
            [echeck_pmt_id] => 
            [reservation_id] => 1368
            [amount] => 0
            [type_of_payment] => deposit
            [date_paid] => 
        )

    [1] => stdClass Object
        (
            [id] => 651
            [date_time] => 2020-07-13 08:28:56
            [scheduled_date] => 2020-09-03 00:00:00
            [payment_type] => check
            [cc_pmt_id] => 
            [echeck_pmt_id] => 
            [reservation_id] => 1368
            [amount] => 
            [type_of_payment] => final
            [date_paid] => 
        )

)
today =2020-09-27
scheduled date=1969-12-31
adding deposit schedule of 0 for date
today =2020-09-27
scheduled date=2020-09-03
setting final amt to 0.0099999999999909 due to final pmt date being past and final amt blank (meaning pay all remaining)
paymentstomake:
Array ( [1] => stdClass Object ( [schedid] => 650 [type] => check [cc_pmt_id] => [echeck_pmt_id] => [amount] => -517.98 [payment_notes] => Deposit overridden and autopaid by SkyTrax ) [2] => stdClass Object ( [schedid] => 651 [type] => check [cc_pmt_id] => [echeck_pmt_id] => [amount] => 0.0099999999999909 [payment_notes] => Final Payment overridden and autopaid by SkyTrax ) )
this payment due = -517.98
skipping sched pmt since less than $0
this payment due = 0.0099999999999909
going into createpayment with paymenttomake->payment_notes = Final Payment overridden and autopaid by SkyTrax
creating payment for 1368 for $0.0099999999999909: payment type=check with notes Final Payment overridden and autopaid by SkyTrax
FINAL payment due calculated = 0.0099999999999909
total dep and final due prior to taking off already made pmts = 0.0099999999999909
processing non-sched pmt of 0
skipping non sched pmt since less than $0


Checking Reservation=1433
dep due=250
payment made already=456.87
today - 7 days=2020-09-27 date reservation taken=2020-08-07
ignoring payment due, already paid, within grace period or amt due lt $5
deposit due=0
final pmt due if arrival on 2020-09-14 is before 2020-11-26
final pmt due=456.88
query =SELECT * FROM srms_payment_schedule WHERE Reservation_ID = 1433 ORDER BY scheduled_date ASC
pmt scheduleArray
(
    [0] => stdClass Object
        (
            [id] => 696
            [date_time] => 2020-08-07 12:02:43
            [scheduled_date] => 
            [payment_type] => check
            [cc_pmt_id] => 
            [echeck_pmt_id] => 
            [reservation_id] => 1433
            [amount] => 0
            [type_of_payment] => deposit
            [date_paid] => 
        )

    [1] => stdClass Object
        (
            [id] => 697
            [date_time] => 2020-08-07 12:02:43
            [scheduled_date] => 2020-09-15 00:00:00
            [payment_type] => check
            [cc_pmt_id] => 
            [echeck_pmt_id] => 
            [reservation_id] => 1433
            [amount] => 
            [type_of_payment] => final
            [date_paid] => 
        )

)
today =2020-09-27
scheduled date=1969-12-31
adding deposit schedule of 0 for date
today =2020-09-27
scheduled date=2020-09-15
setting final amt to 0.0099999999999909 due to final pmt date being past and final amt blank (meaning pay all remaining)
paymentstomake:
Array ( [1] => stdClass Object ( [schedid] => 696 [type] => check [cc_pmt_id] => [echeck_pmt_id] => [amount] => -456.87 [payment_notes] => Deposit overridden and autopaid by SkyTrax ) [2] => stdClass Object ( [schedid] => 697 [type] => check [cc_pmt_id] => [echeck_pmt_id] => [amount] => 0.0099999999999909 [payment_notes] => Final Payment overridden and autopaid by SkyTrax ) )
this payment due = -456.87
skipping sched pmt since less than $0
this payment due = 0.0099999999999909
going into createpayment with paymenttomake->payment_notes = Final Payment overridden and autopaid by SkyTrax
creating payment for 1433 for $0.0099999999999909: payment type=check with notes Final Payment overridden and autopaid by SkyTrax
FINAL payment due calculated = 0.0099999999999909
total dep and final due prior to taking off already made pmts = 0.0099999999999909
processing non-sched pmt of 0
skipping non sched pmt since less than $0


Checking Reservation=1435
dep due=250
payment made already=456.87
today - 7 days=2020-09-27 date reservation taken=2020-08-09
ignoring payment due, already paid, within grace period or amt due lt $5
deposit due=0
final pmt due if arrival on 2020-09-10 is before 2020-11-26
final pmt due=456.88
query =SELECT * FROM srms_payment_schedule WHERE Reservation_ID = 1435 ORDER BY scheduled_date ASC
pmt scheduleArray
(
    [0] => stdClass Object
        (
            [id] => 700
            [date_time] => 2020-08-09 19:46:35
            [scheduled_date] => 
            [payment_type] => check
            [cc_pmt_id] => 
            [echeck_pmt_id] => 
            [reservation_id] => 1435
            [amount] => 0
            [type_of_payment] => deposit
            [date_paid] => 
        )

    [1] => stdClass Object
        (
            [id] => 701
            [date_time] => 2020-08-09 19:46:35
            [scheduled_date] => 2020-09-11 00:00:00
            [payment_type] => check
            [cc_pmt_id] => 
            [echeck_pmt_id] => 
            [reservation_id] => 1435
            [amount] => 
            [type_of_payment] => final
            [date_paid] => 
        )

)
today =2020-09-27
scheduled date=1969-12-31
adding deposit schedule of 0 for date
today =2020-09-27
scheduled date=2020-09-11
setting final amt to 0.0099999999999909 due to final pmt date being past and final amt blank (meaning pay all remaining)
paymentstomake:
Array ( [1] => stdClass Object ( [schedid] => 700 [type] => check [cc_pmt_id] => [echeck_pmt_id] => [amount] => -456.87 [payment_notes] => Deposit overridden and autopaid by SkyTrax ) [2] => stdClass Object ( [schedid] => 701 [type] => check [cc_pmt_id] => [echeck_pmt_id] => [amount] => 0.0099999999999909 [payment_notes] => Final Payment overridden and autopaid by SkyTrax ) )
this payment due = -456.87
skipping sched pmt since less than $0
this payment due = 0.0099999999999909
going into createpayment with paymenttomake->payment_notes = Final Payment overridden and autopaid by SkyTrax
creating payment for 1435 for $0.0099999999999909: payment type=check with notes Final Payment overridden and autopaid by SkyTrax
FINAL payment due calculated = 0.0099999999999909
total dep and final due prior to taking off already made pmts = 0.0099999999999909
processing non-sched pmt of 0
skipping non sched pmt since less than $0


Checking Reservation=1444
dep due=542.13
payment made already=551.41
today - 7 days=2020-09-27 date reservation taken=2020-08-12
ignoring payment due, already paid, within grace period or amt due lt $5
deposit due=0
final pmt due if arrival on 2021-07-20 is before 2020-11-26
no final payment due (yet)
final pmt due=0
query =SELECT * FROM srms_payment_schedule WHERE Reservation_ID = 1444 ORDER BY scheduled_date ASC
total dep and final due prior to taking off already made pmts = 0
processing non-sched pmt of 0
skipping non sched pmt since less than $0


Checking Reservation=1449
dep due=250
payment made already=456.87
today - 7 days=2020-09-27 date reservation taken=2020-08-12
ignoring payment due, already paid, within grace period or amt due lt $5
deposit due=0
final pmt due if arrival on 2020-09-12 is before 2020-11-26
final pmt due=456.88
query =SELECT * FROM srms_payment_schedule WHERE Reservation_ID = 1449 ORDER BY scheduled_date ASC
pmt scheduleArray
(
    [0] => stdClass Object
        (
            [id] => 712
            [date_time] => 2020-08-12 22:04:30
            [scheduled_date] => 
            [payment_type] => check
            [cc_pmt_id] => 
            [echeck_pmt_id] => 
            [reservation_id] => 1449
            [amount] => 0
            [type_of_payment] => deposit
            [date_paid] => 
        )

    [1] => stdClass Object
        (
            [id] => 713
            [date_time] => 2020-08-12 22:04:30
            [scheduled_date] => 2020-09-13 00:00:00
            [payment_type] => check
            [cc_pmt_id] => 
            [echeck_pmt_id] => 
            [reservation_id] => 1449
            [amount] => 
            [type_of_payment] => final
            [date_paid] => 
        )

)
today =2020-09-27
scheduled date=1969-12-31
adding deposit schedule of 0 for date
today =2020-09-27
scheduled date=2020-09-13
setting final amt to 0.0099999999999909 due to final pmt date being past and final amt blank (meaning pay all remaining)
paymentstomake:
Array ( [1] => stdClass Object ( [schedid] => 712 [type] => check [cc_pmt_id] => [echeck_pmt_id] => [amount] => -456.87 [payment_notes] => Deposit overridden and autopaid by SkyTrax ) [2] => stdClass Object ( [schedid] => 713 [type] => check [cc_pmt_id] => [echeck_pmt_id] => [amount] => 0.0099999999999909 [payment_notes] => Final Payment overridden and autopaid by SkyTrax ) )
this payment due = -456.87
skipping sched pmt since less than $0
this payment due = 0.0099999999999909
going into createpayment with paymenttomake->payment_notes = Final Payment overridden and autopaid by SkyTrax
creating payment for 1449 for $0.0099999999999909: payment type=check with notes Final Payment overridden and autopaid by SkyTrax
FINAL payment due calculated = 0.0099999999999909
total dep and final due prior to taking off already made pmts = 0.0099999999999909
processing non-sched pmt of 0
skipping non sched pmt since less than $0


Checking Reservation=1479
dep due=969.895
payment made already=1939.78
today - 7 days=2020-09-27 date reservation taken=2020-08-19
ignoring payment due, already paid, within grace period or amt due lt $5
deposit due=0
final pmt due if arrival on 2020-09-04 is before 2020-11-26
final pmt due=1939.79
query =SELECT * FROM srms_payment_schedule WHERE Reservation_ID = 1479 ORDER BY scheduled_date ASC
pmt scheduleArray
(
    [0] => stdClass Object
        (
            [id] => 730
            [date_time] => 2020-08-19 06:09:44
            [scheduled_date] => 
            [payment_type] => check
            [cc_pmt_id] => 
            [echeck_pmt_id] => 
            [reservation_id] => 1479
            [amount] => 0
            [type_of_payment] => deposit
            [date_paid] => 
        )

    [1] => stdClass Object
        (
            [id] => 731
            [date_time] => 2020-08-19 06:09:44
            [scheduled_date] => 2020-09-05 00:00:00
            [payment_type] => check
            [cc_pmt_id] => 
            [echeck_pmt_id] => 
            [reservation_id] => 1479
            [amount] => 
            [type_of_payment] => final
            [date_paid] => 
        )

)
today =2020-09-27
scheduled date=1969-12-31
adding deposit schedule of 0 for date
today =2020-09-27
scheduled date=2020-09-05
setting final amt to 0.0099999999999909 due to final pmt date being past and final amt blank (meaning pay all remaining)
paymentstomake:
Array ( [1] => stdClass Object ( [schedid] => 730 [type] => check [cc_pmt_id] => [echeck_pmt_id] => [amount] => -1939.78 [payment_notes] => Deposit overridden and autopaid by SkyTrax ) [2] => stdClass Object ( [schedid] => 731 [type] => check [cc_pmt_id] => [echeck_pmt_id] => [amount] => 0.0099999999999909 [payment_notes] => Final Payment overridden and autopaid by SkyTrax ) )
this payment due = -1939.78
skipping sched pmt since less than $0
this payment due = 0.0099999999999909
going into createpayment with paymenttomake->payment_notes = Final Payment overridden and autopaid by SkyTrax
creating payment for 1479 for $0.0099999999999909: payment type=check with notes Final Payment overridden and autopaid by SkyTrax
FINAL payment due calculated = 0.0099999999999909
total dep and final due prior to taking off already made pmts = 0.0099999999999909
processing non-sched pmt of 0
skipping non sched pmt since less than $0


Checking Reservation=1482
dep due=6854.115
payment made already=6973.38
today - 7 days=2020-09-27 date reservation taken=2020-08-19
ignoring payment due, already paid, within grace period or amt due lt $5
deposit due=0
final pmt due if arrival on 2020-12-27 is before 2020-11-26
no final payment due (yet)
final pmt due=0
query =SELECT * FROM srms_payment_schedule WHERE Reservation_ID = 1482 ORDER BY scheduled_date ASC
total dep and final due prior to taking off already made pmts = 0
processing non-sched pmt of 0
skipping non sched pmt since less than $0


Checking Reservation=1500
dep due=590.66
payment made already=590.66
today - 7 days=2020-09-27 date reservation taken=2020-08-25
ignoring payment due, already paid, within grace period or amt due lt $5
deposit due=0
final pmt due if arrival on 2021-01-15 is before 2020-11-26
no final payment due (yet)
final pmt due=0
query =SELECT * FROM srms_payment_schedule WHERE Reservation_ID = 1500 ORDER BY scheduled_date ASC
total dep and final due prior to taking off already made pmts = 0
processing non-sched pmt of 0
skipping non sched pmt since less than $0


Checking Reservation=1502
dep due=12250
payment made already=12500.00
today - 7 days=2020-09-27 date reservation taken=2020-08-27
ignoring payment due, already paid, within grace period or amt due lt $5
deposit due=0
final pmt due if arrival on 2021-01-27 is before 2020-11-26
no final payment due (yet)
final pmt due=0
query =SELECT * FROM srms_payment_schedule WHERE Reservation_ID = 1502 ORDER BY scheduled_date ASC
total dep and final due prior to taking off already made pmts = 0
processing non-sched pmt of 0
skipping non sched pmt since less than $0


Checking Reservation=1503
dep due=1355.095
payment made already=2710.18
today - 7 days=2020-09-27 date reservation taken=2020-08-27
ignoring payment due, already paid, within grace period or amt due lt $5
deposit due=0
final pmt due if arrival on 2020-09-04 is before 2020-11-26
final pmt due=2710.19
query =SELECT * FROM srms_payment_schedule WHERE Reservation_ID = 1503 ORDER BY scheduled_date ASC
pmt scheduleArray
(
    [0] => stdClass Object
        (
            [id] => 742
            [date_time] => 2020-08-27 13:14:07
            [scheduled_date] => 
            [payment_type] => check
            [cc_pmt_id] => 
            [echeck_pmt_id] => 
            [reservation_id] => 1503
            [amount] => 0
            [type_of_payment] => deposit
            [date_paid] => 
        )

    [1] => stdClass Object
        (
            [id] => 743
            [date_time] => 2020-08-27 13:14:07
            [scheduled_date] => 2020-09-05 00:00:00
            [payment_type] => check
            [cc_pmt_id] => 
            [echeck_pmt_id] => 
            [reservation_id] => 1503
            [amount] => 
            [type_of_payment] => final
            [date_paid] => 
        )

)
today =2020-09-27
scheduled date=1969-12-31
adding deposit schedule of 0 for date
today =2020-09-27
scheduled date=2020-09-05
setting final amt to 0.010000000000218 due to final pmt date being past and final amt blank (meaning pay all remaining)
paymentstomake:
Array ( [1] => stdClass Object ( [schedid] => 742 [type] => check [cc_pmt_id] => [echeck_pmt_id] => [amount] => -2710.18 [payment_notes] => Deposit overridden and autopaid by SkyTrax ) [2] => stdClass Object ( [schedid] => 743 [type] => check [cc_pmt_id] => [echeck_pmt_id] => [amount] => 0.010000000000218 [payment_notes] => Final Payment overridden and autopaid by SkyTrax ) )
this payment due = -2710.18
skipping sched pmt since less than $0
this payment due = 0.010000000000218
going into createpayment with paymenttomake->payment_notes = Final Payment overridden and autopaid by SkyTrax
creating payment for 1503 for $0.010000000000218: payment type=check with notes Final Payment overridden and autopaid by SkyTrax
FINAL payment due calculated = 0.010000000000218
total dep and final due prior to taking off already made pmts = 0.010000000000218
processing non-sched pmt of 0
skipping non sched pmt since less than $0


Checking Reservation=1521
dep due=258.99
payment made already=0.00
today - 7 days=2020-09-27 date reservation taken=2020-09-06
deposit due=258.99
final pmt due if arrival on 2020-09-25 is before 2020-11-26
final pmt due=517.98
query =SELECT * FROM srms_payment_schedule WHERE Reservation_ID = 1521 ORDER BY scheduled_date ASC
pmt scheduleArray
(
    [0] => stdClass Object
        (
            [id] => 754
            [date_time] => 2020-09-06 08:55:59
            [scheduled_date] => 
            [payment_type] => check
            [cc_pmt_id] => 
            [echeck_pmt_id] => 
            [reservation_id] => 1521
            [amount] => 0
            [type_of_payment] => deposit
            [date_paid] => 
        )

    [1] => stdClass Object
        (
            [id] => 755
            [date_time] => 2020-09-06 08:55:59
            [scheduled_date] => 2020-09-26 00:00:00
            [payment_type] => check
            [cc_pmt_id] => 
            [echeck_pmt_id] => 
            [reservation_id] => 1521
            [amount] => 
            [type_of_payment] => final
            [date_paid] => 
        )

)
today =2020-09-27
scheduled date=1969-12-31
adding deposit schedule of 0 for date
today =2020-09-27
scheduled date=2020-09-26
setting final amt to 517.98 due to final pmt date being past and final amt blank (meaning pay all remaining)
paymentstomake:
Array ( [1] => stdClass Object ( [schedid] => 754 [type] => check [cc_pmt_id] => [echeck_pmt_id] => [amount] => 0 [payment_notes] => Deposit overridden and autopaid by SkyTrax ) [2] => stdClass Object ( [schedid] => 755 [type] => check [cc_pmt_id] => [echeck_pmt_id] => [amount] => 517.98 [payment_notes] => Final Payment overridden and autopaid by SkyTrax ) )
this payment due = 0
skipping sched pmt since less than $0
this payment due = 517.98
going into createpayment with paymenttomake->payment_notes = Final Payment overridden and autopaid by SkyTrax
creating payment for 1521 for $517.98: payment type=check with notes Final Payment overridden and autopaid by SkyTrax
FINAL payment due calculated = 517.98
ready to put in pmt for:stdClass Object
(
    [type] => check
    [cc_pmt_id] => 
    [echeck_pmt_id] => 
    [amount] => 517.98
    [payment_notes] => Final Payment overridden and autopaid by SkyTrax
    [payment_type] => check
    [arrival_date] => 2020-09-25
    [departure_date] => 2020-09-29
    [card_full_name] => Andrea Banty
    [guest_email] => andrea-xzl1ixfooo1bfoyc@guest.airbnb.com
    [guest_phone] => 2034149547
    [reservation_id] => 1521
)
rez to decide on processing or notstdClass Object
(
    [parent_id] => 
    [date_time] => 2020-09-06 08:55:59
    [full_name] => Andrea Banty
    [email] => andrea-xzl1ixfooo1bfoyc@guest.airbnb.com
    [phone_number] => 2034149547
    [arrival_date] => 2020-09-25
    [departure_date] => 2020-09-29
    [Reservation_ID] => 1521
    [madeby] => 1
    [made_by_other] => AIRBNB
    [code_used] => AIRBNBO
    [charges] => 517.98
    [payments] => 0.00
    [source] => AIRBNB
)

checking airbnbo in string: 1
date=1 group= rezsource=1
total dep and final due prior to taking off already made pmts = 517.98
processing non-sched pmt of 0
skipping non sched pmt since less than $0


Checking Reservation=1522
dep due=1355.095
payment made already=2710.18
today - 7 days=2020-09-27 date reservation taken=2020-09-06
ignoring payment due, already paid, within grace period or amt due lt $5
deposit due=0
final pmt due if arrival on 2020-09-11 is before 2020-11-26
final pmt due=2710.19
query =SELECT * FROM srms_payment_schedule WHERE Reservation_ID = 1522 ORDER BY scheduled_date ASC
pmt scheduleArray
(
    [0] => stdClass Object
        (
            [id] => 756
            [date_time] => 2020-09-06 11:27:20
            [scheduled_date] => 
            [payment_type] => check
            [cc_pmt_id] => 
            [echeck_pmt_id] => 
            [reservation_id] => 1522
            [amount] => 0
            [type_of_payment] => deposit
            [date_paid] => 
        )

    [1] => stdClass Object
        (
            [id] => 757
            [date_time] => 2020-09-06 11:27:20
            [scheduled_date] => 2020-09-12 00:00:00
            [payment_type] => check
            [cc_pmt_id] => 
            [echeck_pmt_id] => 
            [reservation_id] => 1522
            [amount] => 
            [type_of_payment] => final
            [date_paid] => 
        )

)
today =2020-09-27
scheduled date=1969-12-31
adding deposit schedule of 0 for date
today =2020-09-27
scheduled date=2020-09-12
setting final amt to 0.010000000000218 due to final pmt date being past and final amt blank (meaning pay all remaining)
paymentstomake:
Array ( [1] => stdClass Object ( [schedid] => 756 [type] => check [cc_pmt_id] => [echeck_pmt_id] => [amount] => -2710.18 [payment_notes] => Deposit overridden and autopaid by SkyTrax ) [2] => stdClass Object ( [schedid] => 757 [type] => check [cc_pmt_id] => [echeck_pmt_id] => [amount] => 0.010000000000218 [payment_notes] => Final Payment overridden and autopaid by SkyTrax ) )
this payment due = -2710.18
skipping sched pmt since less than $0
this payment due = 0.010000000000218
going into createpayment with paymenttomake->payment_notes = Final Payment overridden and autopaid by SkyTrax
creating payment for 1522 for $0.010000000000218: payment type=check with notes Final Payment overridden and autopaid by SkyTrax
FINAL payment due calculated = 0.010000000000218
total dep and final due prior to taking off already made pmts = 0.010000000000218
processing non-sched pmt of 0
skipping non sched pmt since less than $0


Checking Reservation=1524
dep due=3377.53
payment made already=0.00
today - 7 days=2020-09-27 date reservation taken=2020-09-07
deposit due=3377.53
final pmt due if arrival on 2021-02-14 is before 2020-11-26
no final payment due (yet)
final pmt due=0
query =SELECT * FROM srms_payment_schedule WHERE Reservation_ID = 1524 ORDER BY scheduled_date ASC
pmt scheduleArray
(
    [0] => stdClass Object
        (
            [id] => 758
            [date_time] => 2020-09-07 11:07:53
            [scheduled_date] => 
            [payment_type] => check
            [cc_pmt_id] => 
            [echeck_pmt_id] => 
            [reservation_id] => 1524
            [amount] => 0
            [type_of_payment] => deposit
            [date_paid] => 
        )

    [1] => stdClass Object
        (
            [id] => 759
            [date_time] => 2020-09-07 11:07:53
            [scheduled_date] => 2021-02-15 00:00:00
            [payment_type] => check
            [cc_pmt_id] => 
            [echeck_pmt_id] => 
            [reservation_id] => 1524
            [amount] => 
            [type_of_payment] => final
            [date_paid] => 
        )

)
today =2020-09-27
scheduled date=1969-12-31
adding deposit schedule of 0 for date
today =2020-09-27
scheduled date=2021-02-15
setting final amt to 0 due to sched date of 2021-02-15 being later than today and in future
paymentstomake:
Array ( [1] => stdClass Object ( [schedid] => 758 [type] => check [cc_pmt_id] => [echeck_pmt_id] => [amount] => 0 [payment_notes] => Deposit overridden and autopaid by SkyTrax ) [2] => stdClass Object ( [schedid] => 759 [type] => check [cc_pmt_id] => [echeck_pmt_id] => [amount] => 0 ) )
this payment due = 0
skipping sched pmt since less than $0
this payment due = 0
skipping sched pmt since less than $0
total dep and final due prior to taking off already made pmts = 0
processing non-sched pmt of 0
skipping non sched pmt since less than $0


Checking Reservation=1534
dep due=3329
payment made already=3329.00
today - 7 days=2020-09-27 date reservation taken=2020-09-08
ignoring payment due, already paid, within grace period or amt due lt $5
deposit due=0
final pmt due if arrival on 2021-01-18 is before 2020-11-26
no final payment due (yet)
final pmt due=0
query =SELECT * FROM srms_payment_schedule WHERE Reservation_ID = 1534 ORDER BY scheduled_date ASC
total dep and final due prior to taking off already made pmts = 0
processing non-sched pmt of 0
skipping non sched pmt since less than $0


Checking Reservation=1535
dep due=1760.245
payment made already=1760.24
today - 7 days=2020-09-27 date reservation taken=2020-09-08
ignoring payment due, already paid, within grace period or amt due lt $5
deposit due=0
final pmt due if arrival on 2021-02-14 is before 2020-11-26
no final payment due (yet)
final pmt due=0
query =SELECT * FROM srms_payment_schedule WHERE Reservation_ID = 1535 ORDER BY scheduled_date ASC
total dep and final due prior to taking off already made pmts = 0
processing non-sched pmt of 0
skipping non sched pmt since less than $0


Checking Reservation=1536
dep due=250
payment made already=0.00
today - 7 days=2020-09-27 date reservation taken=2020-09-08
deposit due=250
final pmt due if arrival on 2020-10-02 is before 2020-11-26
final pmt due=399.65
query =SELECT * FROM srms_payment_schedule WHERE Reservation_ID = 1536 ORDER BY scheduled_date ASC
pmt scheduleArray
(
    [0] => stdClass Object
        (
            [id] => 764
            [date_time] => 2020-09-08 16:20:05
            [scheduled_date] => 
            [payment_type] => check
            [cc_pmt_id] => 
            [echeck_pmt_id] => 
            [reservation_id] => 1536
            [amount] => 0
            [type_of_payment] => deposit
            [date_paid] => 
        )

    [1] => stdClass Object
        (
            [id] => 765
            [date_time] => 2020-09-08 16:20:05
            [scheduled_date] => 2020-10-03 00:00:00
            [payment_type] => check
            [cc_pmt_id] => 
            [echeck_pmt_id] => 
            [reservation_id] => 1536
            [amount] => 
            [type_of_payment] => final
            [date_paid] => 
        )

)
today =2020-09-27
scheduled date=1969-12-31
adding deposit schedule of 0 for date
today =2020-09-27
scheduled date=2020-10-03
setting final amt to 0 due to sched date of 2020-10-03 being later than today and in future
paymentstomake:
Array ( [1] => stdClass Object ( [schedid] => 764 [type] => check [cc_pmt_id] => [echeck_pmt_id] => [amount] => 0 [payment_notes] => Deposit overridden and autopaid by SkyTrax ) [2] => stdClass Object ( [schedid] => 765 [type] => check [cc_pmt_id] => [echeck_pmt_id] => [amount] => 0 ) )
this payment due = 0
skipping sched pmt since less than $0
this payment due = 0
skipping sched pmt since less than $0
total dep and final due prior to taking off already made pmts = 0
processing non-sched pmt of 0
skipping non sched pmt since less than $0


Checking Reservation=1540
dep due=1453.305
payment made already=1453.31
today - 7 days=2020-09-27 date reservation taken=2020-09-09
ignoring payment due, already paid, within grace period or amt due lt $5
deposit due=0
final pmt due if arrival on 2020-12-28 is before 2020-11-26
no final payment due (yet)
final pmt due=0
query =SELECT * FROM srms_payment_schedule WHERE Reservation_ID = 1540 ORDER BY scheduled_date ASC
total dep and final due prior to taking off already made pmts = 0
processing non-sched pmt of 0
skipping non sched pmt since less than $0


Checking Reservation=1543
dep due=835.565
payment made already=0.00
today - 7 days=2020-09-27 date reservation taken=2020-09-11
deposit due=835.565
final pmt due if arrival on 2020-09-22 is before 2020-11-26
final pmt due=1671.13
query =SELECT * FROM srms_payment_schedule WHERE Reservation_ID = 1543 ORDER BY scheduled_date ASC
pmt scheduleArray
(
    [0] => stdClass Object
        (
            [id] => 768
            [date_time] => 2020-09-11 06:08:27
            [scheduled_date] => 
            [payment_type] => check
            [cc_pmt_id] => 
            [echeck_pmt_id] => 
            [reservation_id] => 1543
            [amount] => 0
            [type_of_payment] => deposit
            [date_paid] => 
        )

    [1] => stdClass Object
        (
            [id] => 769
            [date_time] => 2020-09-11 06:08:27
            [scheduled_date] => 2020-09-23 00:00:00
            [payment_type] => check
            [cc_pmt_id] => 
            [echeck_pmt_id] => 
            [reservation_id] => 1543
            [amount] => 
            [type_of_payment] => final
            [date_paid] => 
        )

)
today =2020-09-27
scheduled date=1969-12-31
adding deposit schedule of 0 for date
today =2020-09-27
scheduled date=2020-09-23
setting final amt to 1671.13 due to final pmt date being past and final amt blank (meaning pay all remaining)
paymentstomake:
Array ( [1] => stdClass Object ( [schedid] => 768 [type] => check [cc_pmt_id] => [echeck_pmt_id] => [amount] => 0 [payment_notes] => Deposit overridden and autopaid by SkyTrax ) [2] => stdClass Object ( [schedid] => 769 [type] => check [cc_pmt_id] => [echeck_pmt_id] => [amount] => 1671.13 [payment_notes] => Final Payment overridden and autopaid by SkyTrax ) )
this payment due = 0
skipping sched pmt since less than $0
this payment due = 1671.13
going into createpayment with paymenttomake->payment_notes = Final Payment overridden and autopaid by SkyTrax
creating payment for 1543 for $1671.13: payment type=check with notes Final Payment overridden and autopaid by SkyTrax
FINAL payment due calculated = 1671.13
ready to put in pmt for:stdClass Object
(
    [type] => check
    [cc_pmt_id] => 
    [echeck_pmt_id] => 
    [amount] => 1671.13
    [payment_notes] => Final Payment overridden and autopaid by SkyTrax
    [payment_type] => check
    [arrival_date] => 2020-09-22
    [departure_date] => 2020-09-26
    [card_full_name] => Alexis Kensak
    [guest_email] => alcave02@gmail.com
    [guest_phone] => 7122297257
    [reservation_id] => 1543
)
rez to decide on processing or notstdClass Object
(
    [parent_id] => 
    [date_time] => 2020-09-11 06:08:27
    [full_name] => Alexis Kensak
    [email] => alcave02@gmail.com
    [phone_number] => 7122297257
    [arrival_date] => 2020-09-22
    [departure_date] => 2020-09-26
    [Reservation_ID] => 1543
    [madeby] => 1
    [made_by_other] => RedAwning_US
    [code_used] => REDAWNING OTHERO
    [charges] => 1671.13
    [payments] => 0.00
    [source] => RedAwning_US
)

checking airbnbo in string:
date=1 group= rezsource=1
total dep and final due prior to taking off already made pmts = 1671.13
processing non-sched pmt of 0
skipping non sched pmt since less than $0


Checking Reservation=1545
dep due=886.59
payment made already=0.00
today - 7 days=2020-09-27 date reservation taken=2020-09-11
deposit due=886.59
final pmt due if arrival on 2020-12-09 is before 2020-11-26
no final payment due (yet)
final pmt due=0
query =SELECT * FROM srms_payment_schedule WHERE Reservation_ID = 1545 ORDER BY scheduled_date ASC
pmt scheduleArray
(
    [0] => stdClass Object
        (
            [id] => 770
            [date_time] => 2020-09-11 14:54:06
            [scheduled_date] => 
            [payment_type] => check
            [cc_pmt_id] => 
            [echeck_pmt_id] => 
            [reservation_id] => 1545
            [amount] => 0
            [type_of_payment] => deposit
            [date_paid] => 
        )

    [1] => stdClass Object
        (
            [id] => 771
            [date_time] => 2020-09-11 14:54:06
            [scheduled_date] => 2020-12-08 00:00:00
            [payment_type] => check
            [cc_pmt_id] => 
            [echeck_pmt_id] => 
            [reservation_id] => 1545
            [amount] => 
            [type_of_payment] => final
            [date_paid] => 
        )

)
today =2020-09-27
scheduled date=1969-12-31
adding deposit schedule of 0 for date
today =2020-09-27
scheduled date=2020-12-08
setting final amt to 0 due to sched date of 2020-12-08 being later than today and in future
paymentstomake:
Array ( [1] => stdClass Object ( [schedid] => 770 [type] => check [cc_pmt_id] => [echeck_pmt_id] => [amount] => 0 [payment_notes] => Deposit overridden and autopaid by SkyTrax ) [2] => stdClass Object ( [schedid] => 771 [type] => check [cc_pmt_id] => [echeck_pmt_id] => [amount] => 0 ) )
this payment due = 0
skipping sched pmt since less than $0
this payment due = 0
skipping sched pmt since less than $0
total dep and final due prior to taking off already made pmts = 0
processing non-sched pmt of 0
skipping non sched pmt since less than $0


Checking Reservation=1547
dep due=1472.605
payment made already=1498.25
today - 7 days=2020-09-27 date reservation taken=2020-09-12
ignoring payment due, already paid, within grace period or amt due lt $5
deposit due=0
final pmt due if arrival on 2020-12-30 is before 2020-11-26
no final payment due (yet)
final pmt due=0
query =SELECT * FROM srms_payment_schedule WHERE Reservation_ID = 1547 ORDER BY scheduled_date ASC
total dep and final due prior to taking off already made pmts = 0
processing non-sched pmt of 0
skipping non sched pmt since less than $0


Checking Reservation=1549
dep due=349.21
payment made already=0.00
today - 7 days=2020-09-27 date reservation taken=2020-09-13
deposit due=349.21
final pmt due if arrival on 2020-09-26 is before 2020-11-26
final pmt due=698.42
query =SELECT * FROM srms_payment_schedule WHERE Reservation_ID = 1549 ORDER BY scheduled_date ASC
pmt scheduleArray
(
    [0] => stdClass Object
        (
            [id] => 776
            [date_time] => 2020-09-13 22:33:17
            [scheduled_date] => 
            [payment_type] => check
            [cc_pmt_id] => 
            [echeck_pmt_id] => 
            [reservation_id] => 1549
            [amount] => 0
            [type_of_payment] => deposit
            [date_paid] => 
        )

    [1] => stdClass Object
        (
            [id] => 777
            [date_time] => 2020-09-13 22:33:17
            [scheduled_date] => 2020-09-27 00:00:00
            [payment_type] => check
            [cc_pmt_id] => 
            [echeck_pmt_id] => 
            [reservation_id] => 1549
            [amount] => 
            [type_of_payment] => final
            [date_paid] => 
        )

)
today =2020-09-27
scheduled date=1969-12-31
adding deposit schedule of 0 for date
today =2020-09-27
scheduled date=2020-09-27
setting final amt to 698.42 due to final pmt date being past and final amt blank (meaning pay all remaining)
paymentstomake:
Array ( [1] => stdClass Object ( [schedid] => 776 [type] => check [cc_pmt_id] => [echeck_pmt_id] => [amount] => 0 [payment_notes] => Deposit overridden and autopaid by SkyTrax ) [2] => stdClass Object ( [schedid] => 777 [type] => check [cc_pmt_id] => [echeck_pmt_id] => [amount] => 698.42 [payment_notes] => Final Payment overridden and autopaid by SkyTrax ) )
this payment due = 0
skipping sched pmt since less than $0
this payment due = 698.42
going into createpayment with paymenttomake->payment_notes = Final Payment overridden and autopaid by SkyTrax
creating payment for 1549 for $698.42: payment type=check with notes Final Payment overridden and autopaid by SkyTrax
FINAL payment due calculated = 698.42
ready to put in pmt for:stdClass Object
(
    [type] => check
    [cc_pmt_id] => 
    [echeck_pmt_id] => 
    [amount] => 698.42
    [payment_notes] => Final Payment overridden and autopaid by SkyTrax
    [payment_type] => check
    [arrival_date] => 2020-09-26
    [departure_date] => 2020-09-30
    [card_full_name] => Grace Wallace
    [guest_email] => grace-lsx2g9gxvltl4nvn@guest.airbnb.com
    [guest_phone] => 7655462890
    [reservation_id] => 1549
)
rez to decide on processing or notstdClass Object
(
    [parent_id] => 
    [date_time] => 2020-09-13 22:33:17
    [full_name] => Grace Wallace
    [email] => grace-lsx2g9gxvltl4nvn@guest.airbnb.com
    [phone_number] => 7655462890
    [arrival_date] => 2020-09-26
    [departure_date] => 2020-09-30
    [Reservation_ID] => 1549
    [madeby] => 1
    [made_by_other] => AIRBNB
    [code_used] => AIRBNBO
    [charges] => 698.42
    [payments] => 0.00
    [source] => AIRBNB
)

checking airbnbo in string: 1
date=1 group= rezsource=1
total dep and final due prior to taking off already made pmts = 698.42
processing non-sched pmt of 0
skipping non sched pmt since less than $0


Checking Reservation=1552
dep due=274.51
payment made already=0.00
today - 7 days=2020-09-27 date reservation taken=2020-09-15
deposit due=274.51
final pmt due if arrival on 2020-10-09 is before 2020-11-26
final pmt due=549.02
query =SELECT * FROM srms_payment_schedule WHERE Reservation_ID = 1552 ORDER BY scheduled_date ASC
pmt scheduleArray
(
    [0] => stdClass Object
        (
            [id] => 778
            [date_time] => 2020-09-15 16:02:06
            [scheduled_date] => 
            [payment_type] => check
            [cc_pmt_id] => 
            [echeck_pmt_id] => 
            [reservation_id] => 1552
            [amount] => 0
            [type_of_payment] => deposit
            [date_paid] => 
        )

    [1] => stdClass Object
        (
            [id] => 779
            [date_time] => 2020-09-15 16:02:06
            [scheduled_date] => 2020-10-10 00:00:00
            [payment_type] => check
            [cc_pmt_id] => 
            [echeck_pmt_id] => 
            [reservation_id] => 1552
            [amount] => 
            [type_of_payment] => final
            [date_paid] => 
        )

)
today =2020-09-27
scheduled date=1969-12-31
adding deposit schedule of 0 for date
today =2020-09-27
scheduled date=2020-10-10
setting final amt to 0 due to sched date of 2020-10-10 being later than today and in future
paymentstomake:
Array ( [1] => stdClass Object ( [schedid] => 778 [type] => check [cc_pmt_id] => [echeck_pmt_id] => [amount] => 0 [payment_notes] => Deposit overridden and autopaid by SkyTrax ) [2] => stdClass Object ( [schedid] => 779 [type] => check [cc_pmt_id] => [echeck_pmt_id] => [amount] => 0 ) )
this payment due = 0
skipping sched pmt since less than $0
this payment due = 0
skipping sched pmt since less than $0
total dep and final due prior to taking off already made pmts = 0
processing non-sched pmt of 0
skipping non sched pmt since less than $0


Checking Reservation=1560
dep due=1797.325
payment made already=1797.33
today - 7 days=2020-09-27 date reservation taken=2020-09-21
ignoring payment due, already paid, within grace period or amt due lt $5
deposit due=0
final pmt due if arrival on 2020-12-23 is before 2020-11-26
no final payment due (yet)
final pmt due=0
query =SELECT * FROM srms_payment_schedule WHERE Reservation_ID = 1560 ORDER BY scheduled_date ASC
total dep and final due prior to taking off already made pmts = 0
processing non-sched pmt of 0
skipping non sched pmt since less than $0


Checking Reservation=1561
dep due=632.57
payment made already=379.17
today - 7 days=2020-09-27 date reservation taken=2020-09-22
deposit due=253.4
final pmt due if arrival on 2020-09-22 is before 2020-11-26
final pmt due=1265.14
query =SELECT * FROM srms_payment_schedule WHERE Reservation_ID = 1561 ORDER BY scheduled_date ASC
pmt scheduleArray
(
    [0] => stdClass Object
        (
            [id] => 782
            [date_time] => 2020-09-22 11:03:49
            [scheduled_date] => 
            [payment_type] => check
            [cc_pmt_id] => 
            [echeck_pmt_id] => 
            [reservation_id] => 1561
            [amount] => 0
            [type_of_payment] => deposit
            [date_paid] => 
        )

    [1] => stdClass Object
        (
            [id] => 783
            [date_time] => 2020-09-22 11:03:49
            [scheduled_date] => 2020-09-24 00:00:00
            [payment_type] => check
            [cc_pmt_id] => 
            [echeck_pmt_id] => 
            [reservation_id] => 1561
            [amount] => 
            [type_of_payment] => final
            [date_paid] => 
        )

)
today =2020-09-27
scheduled date=1969-12-31
adding deposit schedule of 0 for date
today =2020-09-27
scheduled date=2020-09-24
setting final amt to 885.97 due to final pmt date being past and final amt blank (meaning pay all remaining)
paymentstomake:
Array ( [1] => stdClass Object ( [schedid] => 782 [type] => check [cc_pmt_id] => [echeck_pmt_id] => [amount] => -379.17 [payment_notes] => Deposit overridden and autopaid by SkyTrax ) [2] => stdClass Object ( [schedid] => 783 [type] => check [cc_pmt_id] => [echeck_pmt_id] => [amount] => 885.97 [payment_notes] => Final Payment overridden and autopaid by SkyTrax ) )
this payment due = -379.17
skipping sched pmt since less than $0
this payment due = 885.97
going into createpayment with paymenttomake->payment_notes = Final Payment overridden and autopaid by SkyTrax
creating payment for 1561 for $885.97: payment type=check with notes Final Payment overridden and autopaid by SkyTrax
FINAL payment due calculated = 885.97
ready to put in pmt for:stdClass Object
(
    [type] => check
    [cc_pmt_id] => 
    [echeck_pmt_id] => 
    [amount] => 885.97
    [payment_notes] => Final Payment overridden and autopaid by SkyTrax
    [payment_type] => check
    [arrival_date] => 2020-09-22
    [departure_date] => 2020-09-25
    [card_full_name] => Sherry Diviney
    [guest_email] => guest.234312@redawning.com
    [guest_phone] => 5092800102
    [reservation_id] => 1561
)
rez to decide on processing or notstdClass Object
(
    [parent_id] => 
    [date_time] => 2020-09-22 11:03:48
    [full_name] => Sherry Diviney
    [email] => guest.234312@redawning.com
    [phone_number] => 5092800102
    [arrival_date] => 2020-09-22
    [departure_date] => 2020-09-25
    [Reservation_ID] => 1561
    [madeby] => 1
    [made_by_other] => RedAwning_US
    [code_used] => REDAWNING OTHERO
    [charges] => 1265.14
    [payments] => 379.17
    [source] => RedAwning_US
)

checking airbnbo in string:
date=1 group= rezsource=1
total dep and final due prior to taking off already made pmts = 885.97
processing non-sched pmt of 0
skipping non sched pmt since less than $0
exiting to display debugging messages