mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Merge pull request #4325 from turbo124/v5-develop
Minor fixes for client portal
This commit is contained in:
commit
6376d5fa98
@ -1 +1 @@
|
||||
5.0.24
|
||||
5.0.25
|
@ -1191,6 +1191,8 @@ class Import implements ShouldQueue
|
||||
if (! $user) {
|
||||
$user = UserFactory::create($this->company->account->id);
|
||||
}
|
||||
|
||||
info("getting user id = {$user->id} - {$user->email}");
|
||||
|
||||
return $user;
|
||||
}
|
||||
|
@ -12,7 +12,7 @@ return [
|
||||
'require_https' => env('REQUIRE_HTTPS', true),
|
||||
'app_url' => rtrim(env('APP_URL', ''), '/').'/',
|
||||
'app_domain' => env('APP_DOMAIN', ''),
|
||||
'app_version' => '5.0.24',
|
||||
'app_version' => '5.0.25',
|
||||
'minimum_client_version' => '5.0.16',
|
||||
'terms_version' => '1.0.1',
|
||||
'api_secret' => env('API_SECRET', false),
|
||||
|
@ -8,12 +8,6 @@
|
||||
|
||||
@section('body')
|
||||
|
||||
@if(!$invoice->isApproved() && $client->getSetting('custom_message_unapproved_quote'))
|
||||
@component('portal.ninja2020.components.message')
|
||||
{{ $client->getSetting('custom_message_unapproved_quote') }}
|
||||
@endcomponent
|
||||
@endif
|
||||
|
||||
@if(!$invoice->isPayable() && $client->getSetting('custom_message_paid_invoice'))
|
||||
@component('portal.ninja2020.components.message')
|
||||
{{ $client->getSetting('custom_message_paid_invoice') }}
|
||||
|
@ -23,7 +23,7 @@ use Tests\TestCase;
|
||||
class GroupSettingTest extends TestCase
|
||||
{
|
||||
use MakesHash;
|
||||
use DatabaseTransactions;
|
||||
//use DatabaseTransactions;
|
||||
use MockAccountData;
|
||||
|
||||
public function setUp(): void
|
||||
@ -42,7 +42,7 @@ class GroupSettingTest extends TestCase
|
||||
public function testAddGroupSettings()
|
||||
{
|
||||
$settings = new \stdClass;
|
||||
$settings->currency_id = 1;
|
||||
$settings->currency_id = '1';
|
||||
|
||||
$data = [
|
||||
'name' => 'testX',
|
||||
@ -65,7 +65,7 @@ class GroupSettingTest extends TestCase
|
||||
public function testArchiveGroupSettings()
|
||||
{
|
||||
$settings = new \stdClass;
|
||||
$settings->currency_id = 1;
|
||||
$settings->currency_id = '1';
|
||||
|
||||
$data = [
|
||||
'name' => 'testY',
|
||||
|
Loading…
x
Reference in New Issue
Block a user