mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Version bump
This commit is contained in:
parent
9fee64018d
commit
850c1e99ff
@ -1 +1 @@
|
||||
5.8.6
|
||||
5.8.7
|
@ -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),
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user