mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Fixes for wepay
This commit is contained in:
parent
8c00bce71b
commit
d61e7f57a2
@ -44,8 +44,8 @@ class WePayController extends BaseController
|
||||
// $data['user_id'] = $this->encodePrimaryKey($hash['user_id']);
|
||||
// $data['company_key'] = $hash['company_key'];
|
||||
|
||||
$data['user_id'] = 1;
|
||||
$user = User::first();
|
||||
$data['user_id'] = $user->id;
|
||||
|
||||
$data['company_key'] = $user->account->companies()->first()->company_key;
|
||||
|
||||
|
@ -82,6 +82,12 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-span-6 sm:col-span-4">
|
||||
|
||||
<span><i>{{ ctrans('texts.standard_fees_apply')}}</i></span>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="px-4 py-3 bg-gray-50 text-right sm:px-6">
|
||||
|
Loading…
x
Reference in New Issue
Block a user