From 8ebfc9fc3477e757518c208922bc6211b5832f84 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Fri, 26 Feb 2021 00:59:34 +0900 Subject: [PATCH] mining taxes invoices --- app/Console/Commands/MiningTaxes/MiningTaxesInvoices.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Console/Commands/MiningTaxes/MiningTaxesInvoices.php b/app/Console/Commands/MiningTaxes/MiningTaxesInvoices.php index f0613eb91..c4062f4bd 100644 --- a/app/Console/Commands/MiningTaxes/MiningTaxesInvoices.php +++ b/app/Console/Commands/MiningTaxes/MiningTaxesInvoices.php @@ -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;