prepare workflows

This commit is contained in:
Dennis Eichhorn 2023-04-21 19:13:03 +00:00
parent 3ea0bad7da
commit 63cf7e8c3b
12 changed files with 5 additions and 6 deletions

0
Admin/Install/Admin.install.json Normal file → Executable file
View File

0
Admin/Install/Admin.php Normal file → Executable file
View File

0
Admin/Install/Media/lang.php Normal file → Executable file
View File

View File

@ -35,8 +35,9 @@
"en": "Finds subscriptions",
"de": "Findet Abonnements"
},
"function_type": "API",
"function_type": "Api",
"function": "apiSubscriptionFind",
"module": "Billing",
"inputs": [
"date_start",
"date_end",
@ -115,8 +116,9 @@
"en": "Creates invoices for subscriptions",
"de": "Erstellt Rechnungen für Abonnements"
},
"function_type": "API",
"function_type": "Api",
"function": "apiInvoiceFromSubscriptionCreate",
"module": "Billing",
"inputs": [
"subscription[]",
"{*}"

0
Admin/Install/db.mysql.sql Normal file → Executable file
View File

0
Admin/Install/db.psql.sql Normal file → Executable file
View File

View File

@ -16,7 +16,6 @@ namespace Modules\Billing\Models;
use Modules\Admin\Models\Account;
use Modules\Admin\Models\NullAccount;
use Modules\Billing\Models\Attribute\BillAttribute;
use Modules\ClientManagement\Models\Client;
use Modules\Editor\Models\EditorDoc;
use Modules\Media\Models\Collection;

View File

@ -280,9 +280,7 @@ class BillElement implements \JsonSerializable
$element->subscription->start = $element->quantity;
$element->subscription->end = $element->quantity;
$element->subscription->quantity = $element->quantity;
$element->subscription->autoRenew = $item->getAttribute('subscription_renewal_type')->value->getValue() === 1
? true
: false;
$element->subscription->autoRenew = $item->getAttribute('subscription_renewal_type')->value->getValue() === 1;
}
return $element;

0
Models/BillPaymentStatus.php Normal file → Executable file
View File

0
Models/NullSubscription.php Normal file → Executable file
View File

0
Models/Subscription.php Normal file → Executable file
View File

0
Models/SubscriptionMapper.php Normal file → Executable file
View File