Skip to content

Commit

Permalink
proper number suffix for offers
Browse files Browse the repository at this point in the history
  • Loading branch information
ole1986 committed Dec 2, 2018
1 parent 00c6bd4 commit f6f70ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/invoice.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public function makeNew(){
if(!empty($this->order) && is_object($this->order))
{
$this->invoice_number = $d->format('Ym') . '-' . $this->order->get_id() . '-R';
$this->offer_number = $d->format('Ym') . '-' . $this->order->get_id() . '-R';
$this->offer_number = $d->format('Ym') . '-' . $this->order->get_id() . '-A';
$this->wc_order_id = $this->order->get_id();
$this->customer_id = $this->order->get_customer_id();
} else {
Expand Down

0 comments on commit f6f70ed

Please sign in to comment.