$arData[GlobalDue]:
array(4) {
  ["2024-10-24"]=>
  string(4) "1000"
  ["2024-10-25"]=>
  string(6) "2016.2"
  ["2024-11-25"]=>
  string(6) "1005.4"
  ["2025-01-25"]=>
  string(6) "1137.4"
}

Total: 5159 EUR
------------------------------
$arData[Payments]:
array(5) {
  [0]=>
  array(6) {
    ["PostDate"]=>
    string(19) "2025-02-17 08:39:51"
    ["GuestIndex"]=>
    NULL
    ["Amount"]=>
    string(7) "2000.00"
    ["Currency"]=>
    string(3) "BGN"
    ["PaymentType"]=>
    string(6) "office"
    ["AdminID"]=>
    int(1)
  }
  [1]=>
  array(6) {
    ["PostDate"]=>
    string(19) "2025-02-20 08:39:51"
    ["GuestIndex"]=>
    NULL
    ["Amount"]=>
    string(7) "1000.00"
    ["Currency"]=>
    string(3) "EUR"
    ["PaymentType"]=>
    string(6) "office"
    ["AdminID"]=>
    int(1)
  }
  [2]=>
  array(6) {
    ["PostDate"]=>
    string(19) "2025-02-22 08:39:51"
    ["GuestIndex"]=>
    NULL
    ["Amount"]=>
    string(6) "200.00"
    ["Currency"]=>
    string(3) "BGN"
    ["PaymentType"]=>
    string(6) "office"
    ["AdminID"]=>
    int(1)
  }
  [3]=>
  array(6) {
    ["PostDate"]=>
    string(19) "2025-02-23 10:16:48"
    ["GuestIndex"]=>
    NULL
    ["Amount"]=>
    string(6) "134.82"
    ["Currency"]=>
    string(3) "EUR"
    ["PaymentType"]=>
    string(6) "office"
    ["AdminID"]=>
    int(1)
  }
  [4]=>
  array(6) {
    ["PostDate"]=>
    string(19) "2025-02-25 10:18:31"
    ["GuestIndex"]=>
    int(2)
    ["Amount"]=>
    string(5) "35.90"
    ["Currency"]=>
    string(3) "EUR"
    ["PaymentType"]=>
    string(6) "office"
    ["AdminID"]=>
    int(1)
  }
}

Paid: 2025-02-17 08:39:51 2000.00 BGN -> office
Paid: 2025-02-20 08:39:51 1000.00 EUR -> office
Paid: 2025-02-22 08:39:51 200.00 BGN -> office
Paid: 2025-02-23 10:16:48 134.82 EUR -> office
Paid: 2025-02-25 10:18:31 35.90 EUR -> office

$arGlobalDue:
array(3) {
  ["PaidTotal"]=>
  float(2295.56)
  ["GlobalDueTotal"]=>
  float(5159)
  ["GlobalDue"]=>
  array(3) {
    ["2024-10-25"]=>
    float(720.64)
    ["2024-11-25"]=>
    string(6) "1005.4"
    ["2025-01-25"]=>
    string(6) "1137.4"
  }
}

Due: 2024-10-25 720.64 EUR
Due: 2024-11-25 1005.4 EUR
Due: 2025-01-25 1137.4 EUR
TotalPaid: 2295.56 EUR
TotalDue: 2863.44 EUR
------------------------------

Fatal error: Uncaught ArgumentCountError: Too few arguments to function Due::GuestDue(), 1 passed in /usr/local/www/projects/rapsody/test/due.php on line 169 and exactly 3 expected in /usr/local/www/projects/rapsody/test/class.due.php:131 Stack trace: #0 /usr/local/www/projects/rapsody/test/due.php(169): Due->GuestDue() #1 {main} thrown in /usr/local/www/projects/rapsody/test/class.due.php on line 131