Work to invoice
This commit is contained in:
parent
224bf9e951
commit
02e78e7255
101 changed files with 23483 additions and 154 deletions
|
|
@ -3,6 +3,7 @@ namespace App\Services;
|
|||
|
||||
|
||||
use App\Mail\MailCheckout;
|
||||
use App\Models\Setting;
|
||||
use App\Models\ShoppingOrder;
|
||||
use App\Models\ShoppingPayment;
|
||||
use App\User;
|
||||
|
|
@ -67,6 +68,11 @@ class Payment
|
|||
}
|
||||
return "warning";
|
||||
}
|
||||
public static function generateNextInvoiceNumber(){
|
||||
$invoice_number = \App\Models\Setting::getContentBySlug('invoice-number');
|
||||
return $invoice_number;
|
||||
|
||||
}
|
||||
|
||||
public static function getShoppingOrderBadge(ShoppingOrder $shopping_order){
|
||||
if($shopping_order->mode === 'test'){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue