From e3b5f31f8542b3bf541c14ec0a0c8a79b4e74671 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Wed, 14 Aug 2019 21:44:45 +1000 Subject: [PATCH] Working on client payment flow --- database/factories/InvoiceFactory.php | 2 +- resources/views/portal/default/invoices/payment.blade.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/database/factories/InvoiceFactory.php b/database/factories/InvoiceFactory.php index 104361e3af1c..ddcc7e586386 100644 --- a/database/factories/InvoiceFactory.php +++ b/database/factories/InvoiceFactory.php @@ -7,7 +7,7 @@ use Faker\Generator as Faker; $factory->define(App\Models\Invoice::class, function (Faker $faker) { return [ 'status_id' => App\Models\Invoice::STATUS_SENT, - 'invoice_number' => $faker->uuid(), + 'invoice_number' => $faker->ean13(), 'discount' => $faker->numberBetween(1,10), 'is_amount_discount' => $faker->boolean(), 'tax_name1' => 'GST', diff --git a/resources/views/portal/default/invoices/payment.blade.php b/resources/views/portal/default/invoices/payment.blade.php index d961b16057ab..a0e1345a9112 100644 --- a/resources/views/portal/default/invoices/payment.blade.php +++ b/resources/views/portal/default/invoices/payment.blade.php @@ -7,7 +7,7 @@