mining taxes invoices

This commit is contained in:
2021-02-26 00:59:34 +09:00
parent 77896aae9a
commit 8ebfc9fc34

View File

@@ -90,13 +90,13 @@ class MiningTaxesInvoices extends Command
//Reduce the total price by the take percentage
$invoiceAmount = $totalPrice * 0.10;
dd($invoiceAmount);
//Get the character name from the character id
$charName = $lookup->CharacterIdToName($charId);
//Generate a unique invoice id
$invoiceId = uniqid();
dd($invoiceId);
//Save the invoice model
$invoice = new Invoice;
$invoice->character_id = $charId;