invoice and bill reminding is moved console command to listeners

This commit is contained in:
Sevan Nerse
2020-04-15 11:27:58 +03:00
parent 981c825213
commit 4c988cb373
7 changed files with 120 additions and 27 deletions

View File

@@ -0,0 +1,22 @@
<?php
namespace App\Events\Sale;
use Illuminate\Queue\SerializesModels;
class InvoiceReminding
{
use SerializesModels;
public $invoice;
/**
* Create a new event instance.
*
* @param $invoice
*/
public function __construct($invoice)
{
$this->invoice = $invoice;
}
}