forked from invoiceninja/invoiceninja
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'v5-develop' into einvoicing-peppol-form-api
Signed-off-by: David Bomba <[email protected]>
- Loading branch information
Showing
150 changed files
with
4,881 additions
and
837 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
5.10.34 | ||
5.10.42 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -385,9 +385,12 @@ private function createSmallAccount() | |
|
||
}); | ||
|
||
|
||
$this->countryClients($company, $user); | ||
|
||
$cc = ClientContact::where('company_id', $company->id)->latest()->first(); | ||
$cc->email = '[email protected]'; | ||
$cc->save(); | ||
|
||
$this->info("finished"); | ||
|
||
} | ||
|
@@ -472,13 +475,13 @@ private function createClient($company, $user) | |
'company_id' => $company->id, | ||
]); | ||
|
||
ClientContact::factory()->create([ | ||
'user_id' => $user->id, | ||
'client_id' => $client->id, | ||
'company_id' => $company->id, | ||
'is_primary' => 1, | ||
'email' => '[email protected]', | ||
]); | ||
// ClientContact::factory()->create([ | ||
// 'user_id' => $user->id, | ||
// 'client_id' => $client->id, | ||
// 'company_id' => $company->id, | ||
// 'is_primary' => 1, | ||
// 'email' => '[email protected]', | ||
// ]); | ||
|
||
ClientContact::factory()->count(rand(1, 2))->create([ | ||
'user_id' => $user->id, | ||
|
@@ -490,7 +493,6 @@ private function createClient($company, $user) | |
|
||
$settings = $client->settings; | ||
$settings->currency_id = "1"; | ||
// $settings->use_credits_payment = "always"; | ||
|
||
$client->settings = $settings; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.