mirror of
https://github.com/Karaka-Management/oms-Billing.git
synced 2026-02-08 04:28:41 +00:00
prepare workflows
This commit is contained in:
parent
3ea0bad7da
commit
63cf7e8c3b
0
Admin/Install/Admin.install.json
Normal file → Executable file
0
Admin/Install/Admin.install.json
Normal file → Executable file
0
Admin/Install/Admin.php
Normal file → Executable file
0
Admin/Install/Admin.php
Normal file → Executable file
0
Admin/Install/Media/lang.php
Normal file → Executable file
0
Admin/Install/Media/lang.php
Normal file → Executable 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
0
Admin/Install/db.mysql.sql
Normal file → Executable file
0
Admin/Install/db.psql.sql
Normal file → Executable file
0
Admin/Install/db.psql.sql
Normal file → Executable 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;
|
||||
|
|
|
|||
|
|
@ -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
0
Models/BillPaymentStatus.php
Normal file → Executable file
0
Models/NullSubscription.php
Normal file → Executable file
0
Models/NullSubscription.php
Normal file → Executable file
0
Models/Subscription.php
Normal file → Executable file
0
Models/Subscription.php
Normal file → Executable file
0
Models/SubscriptionMapper.php
Normal file → Executable file
0
Models/SubscriptionMapper.php
Normal file → Executable file
Loading…
Reference in New Issue
Block a user