mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 22:34:31 -04:00
Minor fixes
This commit is contained in:
parent
e763a2b233
commit
5959eb8eb5
@ -49,6 +49,7 @@ The self-host zip includes all third party libraries whereas downloading the cod
|
|||||||
## Third Party Modules
|
## Third Party Modules
|
||||||
* [Event Scheduler](https://github.com/cytech/Scheduler-InvoiceNinja)
|
* [Event Scheduler](https://github.com/cytech/Scheduler-InvoiceNinja)
|
||||||
* [Manufacturer Module](https://github.com/dicarlosystems/manufacturer-invoiceninja)
|
* [Manufacturer Module](https://github.com/dicarlosystems/manufacturer-invoiceninja)
|
||||||
|
* [Point of Sale](https://github.com/dicarlosystems/pointofsale-invoiceninja)
|
||||||
|
|
||||||
> Feel free to email us for help if you're working on a module, we're happy to provide developer support.
|
> Feel free to email us for help if you're working on a module, we're happy to provide developer support.
|
||||||
|
|
||||||
|
@ -204,7 +204,7 @@ if (! defined('APP_NAME')) {
|
|||||||
define('MAX_NUM_CLIENTS', 100);
|
define('MAX_NUM_CLIENTS', 100);
|
||||||
define('MAX_NUM_CLIENTS_PRO', 40000);
|
define('MAX_NUM_CLIENTS_PRO', 40000);
|
||||||
define('MAX_NUM_CLIENTS_LEGACY', 500);
|
define('MAX_NUM_CLIENTS_LEGACY', 500);
|
||||||
define('MAX_INVOICE_AMOUNT', 1000000000);
|
define('MAX_INVOICE_AMOUNT', 10000000000);
|
||||||
define('LEGACY_CUTOFF', 57800);
|
define('LEGACY_CUTOFF', 57800);
|
||||||
define('ERROR_DELAY', 3);
|
define('ERROR_DELAY', 3);
|
||||||
|
|
||||||
|
@ -55,7 +55,7 @@ class PayPalExpressPaymentDriver extends BasePaymentDriver
|
|||||||
}
|
}
|
||||||
|
|
||||||
$client->shipping_address1 = isset($data['SHIPTOSTREET']) ? trim($data['SHIPTOSTREET']) : '';
|
$client->shipping_address1 = isset($data['SHIPTOSTREET']) ? trim($data['SHIPTOSTREET']) : '';
|
||||||
$client->shipping_address2 = '';
|
$client->shipping_address2 = isset($data['SHIPTOSTREET2']) ? trim($data['SHIPTOSTREET2']) : '';
|
||||||
$client->shipping_city = isset($data['SHIPTOCITY']) ? trim($data['SHIPTOCITY']) : '';
|
$client->shipping_city = isset($data['SHIPTOCITY']) ? trim($data['SHIPTOCITY']) : '';
|
||||||
$client->shipping_state = isset($data['SHIPTOSTATE']) ? trim($data['SHIPTOSTATE']) : '';
|
$client->shipping_state = isset($data['SHIPTOSTATE']) ? trim($data['SHIPTOSTATE']) : '';
|
||||||
$client->shipping_postal_code = isset($data['SHIPTOZIP']) ? trim($data['SHIPTOZIP']) : '';
|
$client->shipping_postal_code = isset($data['SHIPTOZIP']) ? trim($data['SHIPTOZIP']) : '';
|
||||||
|
@ -121,7 +121,8 @@ class InvoiceTransformer extends EntityTransformer
|
|||||||
'partial' => (float) ($invoice->partial ?: 0.0),
|
'partial' => (float) ($invoice->partial ?: 0.0),
|
||||||
'partial_due_date' => $invoice->partial_due_date ?: '',
|
'partial_due_date' => $invoice->partial_due_date ?: '',
|
||||||
'has_tasks' => (bool) $invoice->has_tasks,
|
'has_tasks' => (bool) $invoice->has_tasks,
|
||||||
'auto_bill' => (int) $invoice->auto_bill,
|
'auto_bill' => (bool) $invoice->auto_bill,
|
||||||
|
'auto_bill_id' => (int) $invoice->auto_bill,
|
||||||
'custom_value1' => (float) $invoice->custom_value1,
|
'custom_value1' => (float) $invoice->custom_value1,
|
||||||
'custom_value2' => (float) $invoice->custom_value2,
|
'custom_value2' => (float) $invoice->custom_value2,
|
||||||
'custom_taxes1' => (bool) $invoice->custom_taxes1,
|
'custom_taxes1' => (bool) $invoice->custom_taxes1,
|
||||||
|
@ -62,6 +62,10 @@ class CountriesSeeder extends Seeder
|
|||||||
'CH' => [
|
'CH' => [
|
||||||
'swap_postal_code' => true,
|
'swap_postal_code' => true,
|
||||||
],
|
],
|
||||||
|
'CN' => [ // China
|
||||||
|
'thousand_separator' => ',',
|
||||||
|
'decimal_separator' => '.',
|
||||||
|
],
|
||||||
'CZ' => [ // Czech Republic
|
'CZ' => [ // Czech Republic
|
||||||
'swap_currency_symbol' => true,
|
'swap_currency_symbol' => true,
|
||||||
],
|
],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user