1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00
This commit is contained in:
David Bomba 2023-03-15 11:41:59 +11:00
parent 5539037618
commit a1c986d83a
2 changed files with 23 additions and 0 deletions

View File

@ -467,7 +467,16 @@ class CompanySettings extends BaseSettings
public $show_task_item_description = false; public $show_task_item_description = false;
public $client_initiated_payments = false;
public $client_initiated_payments_minimum = 0;
public $sync_invoice_quote_columns = true;
public static $casts = [ public static $casts = [
'client_initiated_payments' => 'bool',
'client_initiated_payments_minimum' => 'float',
'sync_invoice_quote_columns' => 'bool',
'show_task_item_description' => 'bool', 'show_task_item_description' => 'bool',
'allow_billable_task_items' => 'bool', 'allow_billable_task_items' => 'bool',
'accept_client_input_quote_approval' => 'bool', 'accept_client_input_quote_approval' => 'bool',
@ -907,6 +916,15 @@ class CompanySettings extends BaseSettings
'$product.tax', '$product.tax',
'$product.line_total', '$product.line_total',
], ],
'product_quote_columns' => [
'$product.item',
'$product.description',
'$product.unit_cost',
'$product.quantity',
'$product.discount',
'$product.tax',
'$product.line_total',
],
'task_columns' =>[ 'task_columns' =>[
'$task.service', '$task.service',
'$task.description', '$task.description',

View File

@ -1,5 +1,10 @@
<?php <?php
use Imdhemy\Purchases\Events\AppStore\DidRenew;
use App\Listeners\Subscription\AppStoreRenewSubscription;
use App\Listeners\Subscription\PlayStoreRenewSubscription;
use Imdhemy\Purchases\Events\GooglePlay\SubscriptionRenewed;
return [ return [
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------