Bug fixes
This commit is contained in:
parent
b172f645a8
commit
b9b522bf6e
3 changed files with 5 additions and 1 deletions
|
|
@ -54,6 +54,7 @@ The self-host zip includes all third party libraries whereas downloading the cod
|
|||
|
||||
## Third Party Modules
|
||||
* [Event Scheduler](https://github.com/cytech/Scheduler-InvoiceNinja)
|
||||
* [Manufacturer Module](https://github.com/dicarlosystems/manufacturer-invoiceninja)
|
||||
|
||||
> Feel free to email us for help if you're working on a module, we're happy to provide developer support.
|
||||
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ class ProductDatatable extends EntityDatatable
|
|||
[
|
||||
'cost',
|
||||
function ($model) {
|
||||
return Utils::formatMoney($model->cost);
|
||||
return Utils::roundSignificant($model->cost);
|
||||
},
|
||||
],
|
||||
[
|
||||
|
|
|
|||
|
|
@ -8,6 +8,9 @@ class GatewayTypesSeeder extends Seeder
|
|||
{
|
||||
Eloquent::unguard();
|
||||
|
||||
// fix for legacy data
|
||||
DB::statement('UPDATE gateway_types SET alias = "custom1" WHERE id = 6');
|
||||
|
||||
$gateway_types = [
|
||||
['alias' => 'credit_card', 'name' => 'Credit Card'],
|
||||
['alias' => 'bank_transfer', 'name' => 'Bank Transfer'],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue