mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 12:42:36 +01:00
Bug fixes
This commit is contained in:
parent
6ccfbe869b
commit
239f492311
@ -83,14 +83,17 @@ class CalculatePayouts extends Command
|
||||
foreach ($companies as $company) {
|
||||
$user = $userMap[$company->referral_code];
|
||||
$payment = $company->payment;
|
||||
$client = $payment->client;
|
||||
|
||||
$this->info("User: $user");
|
||||
$this->info("Client: " . $client->getDisplayName());
|
||||
if ($payment) {
|
||||
$client = $payment->client;
|
||||
|
||||
foreach ($client->payments as $payment) {
|
||||
$amount = $payment->getCompletedAmount();
|
||||
$this->info("Date: $payment->payment_date, Amount: $amount, Reference: $payment->transaction_reference");
|
||||
$this->info("User: $user");
|
||||
$this->info("Client: " . $client->getDisplayName());
|
||||
|
||||
foreach ($client->payments as $payment) {
|
||||
$amount = $payment->getCompletedAmount();
|
||||
$this->info("Date: $payment->payment_date, Amount: $amount, Reference: $payment->transaction_reference");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -2849,6 +2849,7 @@ $LANG = array(
|
||||
'all_invoices' => 'All Invoices',
|
||||
'my_invoices' => 'My Invoices',
|
||||
'mobile_refresh_warning' => 'If you\'re using the mobile app you may need to do a full refresh.',
|
||||
'enable_proposals_for_background' => 'To upload a background image :link to enable the proposals module.',
|
||||
|
||||
);
|
||||
|
||||
|
@ -513,7 +513,8 @@ iframe.src = '{{ rtrim(SITE_URL ,'/') }}/' + parts[1] + '/' + parts[0].substring
|
||||
$('#domainHelp, #iframeModalHelp, #domainModalHelp').hide();
|
||||
$('#is_custom_domain').val(0);
|
||||
|
||||
var val = $('input[name=custom_link]:checked').val()
|
||||
var val = $('input[name=custom_link]:checked').val() || 'iframe';
|
||||
|
||||
if (val == 'subdomain') {
|
||||
$('.subdomain').show();
|
||||
} else if (val == 'iframe') {
|
||||
|
@ -298,7 +298,11 @@
|
||||
->label('background_image')
|
||||
->addOption('', '')
|
||||
->fromQuery(\App\Models\Document::scope()->proposalImages()->get(), function($model) { return $model->name . ' - ' . Utils::formatNumber($model->size / 1000, null, 1) . ' KB'; }, 'public_id')
|
||||
->help(trans('texts.background_image_help', ['link' => link_to('/proposals/create?show_assets=true', trans('texts.proposal_editor'), ['target' => '_blank'])])) !!}
|
||||
->help($account->isModuleEnabled(ENTITY_PROPOSAL)
|
||||
? trans('texts.background_image_help', ['link' => link_to('/proposals/create?show_assets=true', trans('texts.proposal_editor'), ['target' => '_blank'])])
|
||||
//: trans('texts.enable_proposals_for_background', ['link' => link_to('/settings/account_management', trans('texts.click_here'), ['target' => '_blank'])])
|
||||
: 'To upload a background image <a href="http://www.ninja.test/settings/account_management" target="_blank">click here</a> to enable the proposals module.'
|
||||
) !!}
|
||||
@endif
|
||||
|
||||
{!! Former::checkbox('hide_paid_to_date')->text(trans('texts.hide_paid_to_date_help'))->value(1) !!}
|
||||
|
Loading…
Reference in New Issue
Block a user