mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Bug fixes
This commit is contained in:
parent
161a421dd6
commit
43c52ab753
@ -56,7 +56,7 @@ class ImportJsonController extends BaseController
|
||||
* ),
|
||||
* )
|
||||
*/
|
||||
public function index(ImportJsonRequest $request)
|
||||
public function import(ImportJsonRequest $request)
|
||||
{
|
||||
|
||||
$import_file = $request->file('files');
|
||||
|
@ -349,7 +349,10 @@ class BillingPortalPurchase extends Component
|
||||
|
||||
$is_eligible = $this->subscription->service()->isEligible($this->contact);
|
||||
|
||||
if (($is_eligible) || is_array($is_eligible) && $is_eligible['exception']['message'] != 'Success') {
|
||||
if(is_bool($is_eligible)){
|
||||
|
||||
}
|
||||
elseif (is_array($is_eligible) && $is_eligible['exception']['message'] != 'Success') {
|
||||
$this->steps['not_eligible'] = true;
|
||||
$this->steps['not_eligible_message'] = $is_eligible['exception']['message'];
|
||||
$this->steps['show_loading_bar'] = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user