mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-08-30 23:20:34 -04:00
minor formatting
This commit is contained in:
parent
04b0784afa
commit
fabc45d162
@ -34,7 +34,9 @@ class InvoiceRepository extends BaseRepository
|
|||||||
*/
|
*/
|
||||||
public function getClassName()
|
public function getClassName()
|
||||||
{
|
{
|
||||||
|
|
||||||
return Invoice::class;
|
return Invoice::class;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -108,8 +110,11 @@ class InvoiceRepository extends BaseRepository
|
|||||||
|
|
||||||
if(!isset($invitation->sent_date))
|
if(!isset($invitation->sent_date))
|
||||||
{
|
{
|
||||||
|
|
||||||
$invitation->sent_date = Carbon::now()->format(config('ninja.date_time_format'));
|
$invitation->sent_date = Carbon::now()->format(config('ninja.date_time_format'));
|
||||||
|
|
||||||
$invitation->save();
|
$invitation->save();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user