mining taxes invoices
This commit is contained in:
@@ -90,13 +90,13 @@ class MiningTaxesInvoices extends Command
|
|||||||
|
|
||||||
//Reduce the total price by the take percentage
|
//Reduce the total price by the take percentage
|
||||||
$invoiceAmount = $totalPrice * 0.10;
|
$invoiceAmount = $totalPrice * 0.10;
|
||||||
dd($invoiceAmount);
|
|
||||||
//Get the character name from the character id
|
//Get the character name from the character id
|
||||||
$charName = $lookup->CharacterIdToName($charId);
|
$charName = $lookup->CharacterIdToName($charId);
|
||||||
|
|
||||||
//Generate a unique invoice id
|
//Generate a unique invoice id
|
||||||
$invoiceId = uniqid();
|
$invoiceId = uniqid();
|
||||||
dd($invoiceId);
|
|
||||||
//Save the invoice model
|
//Save the invoice model
|
||||||
$invoice = new Invoice;
|
$invoice = new Invoice;
|
||||||
$invoice->character_id = $charId;
|
$invoice->character_id = $charId;
|
||||||
|
|||||||
Reference in New Issue
Block a user