Added InvoiceJob

This commit is contained in:
Frank Schubert
2024-08-29 14:51:37 +02:00
parent 248013423d
commit 1ed2dddb97
13 changed files with 1051 additions and 30 deletions

View File

@@ -0,0 +1,12 @@
<?php
class InvoiceJob extends mfBaseModel {
public function getResult($variable) {
$result = json_decode($this->result);
if(json_last_error() === JSON_ERROR_NONE) {
return $result->$variable;
}
return null;
}
}