mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 13:14:31 -04:00
minor fixes
This commit is contained in:
parent
1b66a42578
commit
bb706a654a
@ -59,6 +59,7 @@ class ShowChartRequest extends Request
|
||||
}
|
||||
|
||||
if (! isset($input['end_date'])) {
|
||||
// $input['end_date'] = now()->lastOfMonth()->format('Y-m-d');
|
||||
$input['end_date'] = now()->format('Y-m-d');
|
||||
}
|
||||
|
||||
|
@ -790,19 +790,24 @@ class BaseDriver extends AbstractPaymentDriver
|
||||
'client' => $this->client->present()->name(),
|
||||
]);
|
||||
|
||||
return sprintf('%s: %s', ctrans('texts.invoices'), \implode(', ', collect($this->payment_hash->invoices())->pluck('invoice_number')->toArray()));
|
||||
// return sprintf('%s: %s', ctrans('texts.invoices'), \implode(', ', collect($this->payment_hash->invoices())->pluck('invoice_number')->toArray()));
|
||||
}
|
||||
|
||||
/**
|
||||
* Stub for disconnecting from the gateway.
|
||||
*
|
||||
* @return void
|
||||
* @return bool
|
||||
*/
|
||||
public function disconnect()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Stub for checking authentication.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function auth(): bool
|
||||
{
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user