1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 12:12:48 +01:00

Fixes for min max limits on migration

This commit is contained in:
David Bomba 2021-07-24 08:32:46 +10:00
parent e58e6b3980
commit 97271449ed

View File

@ -2015,8 +2015,8 @@ trait GenerateMigrationResources
}
$fees_and_limits = new \stdClass();
$fees_and_limits->min_limit = $ags->min_limit;
$fees_and_limits->max_limit = $ags->max_limit;
$fees_and_limits->min_limit = $ags->min_limit ?: -1;
$fees_and_limits->max_limit = $ags->max_limit ?: -1;
$fees_and_limits->fee_amount = $ags->fee_amount;
$fees_and_limits->fee_percent = $ags->fee_percent;
$fees_and_limits->fee_tax_name1 = $ags->tax_name1;