mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 11:14:31 -04:00
Log vendor imports
This commit is contained in:
parent
514bbacc35
commit
40abf68bc9
@ -741,7 +741,6 @@ class BaseExport
|
|||||||
|
|
||||||
$first_month_of_year = $this->company->getSetting('first_month_of_year') ?? 1;
|
$first_month_of_year = $this->company->getSetting('first_month_of_year') ?? 1;
|
||||||
$fin_year_start = now()->createFromDate(now()->year, $first_month_of_year, 1);
|
$fin_year_start = now()->createFromDate(now()->year, $first_month_of_year, 1);
|
||||||
|
|
||||||
$fin_year_start->subYearNoOverflow();
|
$fin_year_start->subYearNoOverflow();
|
||||||
|
|
||||||
if(now()->subYear()->lt($fin_year_start))
|
if(now()->subYear()->lt($fin_year_start))
|
||||||
|
@ -440,6 +440,9 @@ class CheckoutComPaymentDriver extends BaseDriver
|
|||||||
$request->query('cko-session-id')
|
$request->query('cko-session-id')
|
||||||
);
|
);
|
||||||
|
|
||||||
|
nlog("checkout3ds");
|
||||||
|
nlog($payment);
|
||||||
|
|
||||||
if (isset($payment['approved']) && $payment['approved']) {
|
if (isset($payment['approved']) && $payment['approved']) {
|
||||||
return $this->processSuccessfulPayment($payment);
|
return $this->processSuccessfulPayment($payment);
|
||||||
} else {
|
} else {
|
||||||
|
@ -45,6 +45,8 @@ class VendorRepository extends BaseRepository
|
|||||||
{
|
{
|
||||||
$vendor->fill($data);
|
$vendor->fill($data);
|
||||||
|
|
||||||
|
nlog($data);
|
||||||
|
|
||||||
$vendor->saveQuietly();
|
$vendor->saveQuietly();
|
||||||
|
|
||||||
if ($vendor->number == '' || ! $vendor->number) {
|
if ($vendor->number == '' || ! $vendor->number) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user