1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 00:11:35 +02:00

Version bump

This commit is contained in:
David Bomba 2024-01-10 13:21:43 +11:00
parent 9fee64018d
commit 850c1e99ff
3 changed files with 4 additions and 4 deletions

View File

@ -1 +1 @@
5.8.6
5.8.7

View File

@ -17,8 +17,8 @@ return [
'require_https' => env('REQUIRE_HTTPS', true),
'app_url' => rtrim(env('APP_URL', ''), '/'),
'app_domain' => env('APP_DOMAIN', 'invoicing.co'),
'app_version' => env('APP_VERSION', '5.8.6'),
'app_tag' => env('APP_TAG', '5.8.6'),
'app_version' => env('APP_VERSION', '5.8.7'),
'app_tag' => env('APP_TAG', '5.8.7'),
'minimum_client_version' => '5.0.16',
'terms_version' => '1.0.1',
'api_secret' => env('API_SECRET', false),

View File

@ -34,7 +34,7 @@ return new class extends Migration
if($product = Product::where('company_id', $invoice->company_id)->where('product_key', $item->product_key)->where('cost', '>', 0)->first())
{
if((property_exists($item, 'product_cost') && $item->product_cost == 0) || !property_exists($item, 'product_cost'))
$line_items[$key]->product_cost = $product->cost;
$line_items[$key]->product_cost = (float)$product->cost;
}
}