fix typo for gks sendPhoneInvoice function

when creating a `phone invoice` the function was checking if `gks-phone` was started, but I believe the script folder name is default `gksphone`
This commit is contained in:
Jim Shield
2025-07-22 11:44:32 +01:00
parent 9ddd6422bd
commit dd66083f45

View File

@@ -171,7 +171,7 @@ function sendPhoneInvoice(data)
end
},
{
name = "gks-phone",
name = "gksphone",
send = function(mailData)
-- Defensive check for required fields
local required = { "billedCitizenid", "amount", "job", "name", "billerCitizenid", "label" }
@@ -197,7 +197,6 @@ function sendPhoneInvoice(data)
}
}
-- Check each phone system in order and use the first active one.
for _, phone in ipairs(phoneSystems) do
if isStarted(phone.name) then