mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-30 22:24:32 -04:00
Purchase Orders
This commit is contained in:
parent
6d54db8507
commit
a55dd2ec40
@ -85,7 +85,6 @@ class SendRecurring implements ShouldQueue
|
|||||||
$invoice = $invoice->service()
|
$invoice = $invoice->service()
|
||||||
->markSent()
|
->markSent()
|
||||||
->applyNumber()
|
->applyNumber()
|
||||||
//->createInvitations() //need to only link invitations to those in the recurring invoice
|
|
||||||
->fillDefaults()
|
->fillDefaults()
|
||||||
->adjustInventory()
|
->adjustInventory()
|
||||||
->save();
|
->save();
|
||||||
|
@ -210,7 +210,6 @@ class ClientContact extends Authenticatable implements HasLocalePreference
|
|||||||
|
|
||||||
NinjaMailerJob::dispatch($nmo);
|
NinjaMailerJob::dispatch($nmo);
|
||||||
|
|
||||||
//$this->notify(new ClientContactResetPassword($token));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function preferredLocale()
|
public function preferredLocale()
|
||||||
|
@ -43,12 +43,10 @@ class ApplyNumber extends AbstractService
|
|||||||
switch ($this->client->getSetting('counter_number_applied')) {
|
switch ($this->client->getSetting('counter_number_applied')) {
|
||||||
case 'when_saved':
|
case 'when_saved':
|
||||||
$this->trySaving();
|
$this->trySaving();
|
||||||
// $this->invoice->number = $this->getNextInvoiceNumber($this->client, $this->invoice, $this->invoice->recurring_id);
|
|
||||||
break;
|
break;
|
||||||
case 'when_sent':
|
case 'when_sent':
|
||||||
if ($this->invoice->status_id == Invoice::STATUS_SENT) {
|
if ($this->invoice->status_id == Invoice::STATUS_SENT) {
|
||||||
$this->trySaving();
|
$this->trySaving();
|
||||||
// $this->invoice->number = $this->getNextInvoiceNumber($this->client, $this->invoice, $this->invoice->recurring_id);
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user