Compare commits

..

No commits in common. '705c5667e2116d0615180d39decfd069a6214cf4' and 'eb3d852dae7f3c993c3628a3b23e86a555dfe4f0' have entirely different histories.

@ -2,8 +2,6 @@
namespace Database\Factories; namespace Database\Factories;
use App\Models\Address;
use App\Models\Customer;
use Illuminate\Database\Eloquent\Factories\Factory; use Illuminate\Database\Eloquent\Factories\Factory;
/** /**
@ -18,21 +16,8 @@ class CustomerFactory extends Factory
*/ */
public function definition() public function definition()
{ {
$state = rand(1,31);
$k = array_keys(Address::$cities[$state]);
shuffle($k);
return [ return [
// //
'name' => $this->faker->name,
'address' => $this->faker->address,
'mobile' => '0912'.rand(1111111,9999999),
'email' => $this->faker->unique()->email,
'state' => $state,
'city' => $k[0],
'password' => bcrypt('password'),
'credit' => 0,
]; ];
} }
} }

@ -1,21 +0,0 @@
<?php
namespace Database\Seeders;
use App\Models\Customer;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
class CustomerSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
//
Customer::factory(5)->create();
}
}

@ -2,7 +2,6 @@
namespace Database\Seeders; namespace Database\Seeders;
use App\Models\Customer;
use Illuminate\Database\Console\Seeds\WithoutModelEvents; use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder; use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\Storage; use Illuminate\Support\Facades\Storage;
@ -33,7 +32,6 @@ class DatabaseSeeder extends Seeder
UserSeeder::class, UserSeeder::class,
CategorySeeder::class, CategorySeeder::class,
CatSeeder::class, CatSeeder::class,
CustomerSeeder::class,
PostSeeder::class, PostSeeder::class,
MenuSeeder::class, MenuSeeder::class,
PropSeeder::class, PropSeeder::class,

@ -10773,9 +10773,7 @@ tr.border-bottom td {
} }
.pink-pattern { .pink-pattern {
background: url(/images/shop.jpg?b9d2a691aa19c475462365228672329f) no-repeat !important; background: url(/images/loginbg.png?c2ff5cc63e62d379756642a76feda7a9) !important;
background-size: cover !important;
background-position: center !important;
margin-top: 0; margin-top: 0;
padding-top: 10vh; padding-top: 10vh;
padding-bottom: 10vh; padding-bottom: 10vh;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 671 KiB

@ -99,7 +99,7 @@ eval("function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof S
\*********************************/ \*********************************/
/***/ (() => { /***/ (() => {
eval("jQuery(function () {\n $(\"nav [href='\" + window.location.href + \"']\").closest('li').addClass('current'); // console.log(\n\n setTimeout(function () {\n if ($(\"nav .current\").closest('.main-nav').find('> a').attr('href') == undefined) {\n $(\"nav .current\").closest('.main-nav').find('> a').click();\n }\n\n if ($(\"nav .current\").parent().parent().hasClass('rvnm-expandable')) {\n $(\"nav .current\").parent().parent().find('> a').click();\n }\n }, 500);\n $(\"#menu-manage li\").bind('dblclick', function () {\n if (confirm('Are sure?')) {\n var self = this;\n axios.post($(\"#rem-menu\").val() + '/' + $(this).data('menuableid')).then(function () {\n $(self).slideUp();\n });\n }\n }); // );\n // $(\"nav .current\").closest('li').click();\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJqUXVlcnkiLCIkIiwid2luZG93IiwibG9jYXRpb24iLCJocmVmIiwiY2xvc2VzdCIsImFkZENsYXNzIiwic2V0VGltZW91dCIsImZpbmQiLCJhdHRyIiwidW5kZWZpbmVkIiwiY2xpY2siLCJwYXJlbnQiLCJoYXNDbGFzcyIsImJpbmQiLCJjb25maXJtIiwic2VsZiIsImF4aW9zIiwicG9zdCIsInZhbCIsImRhdGEiLCJ0aGVuIiwic2xpZGVVcCJdLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9yZXNvdXJjZXMvanMvZ2VuZXJhbC5qcz84NDA4Il0sInNvdXJjZXNDb250ZW50IjpbImpRdWVyeShmdW5jdGlvbiAoKSB7XG4gICAgJChcIm5hdiBbaHJlZj0nXCIgKyB3aW5kb3cubG9j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MsQ0FBQyxXQUFELENBQUQsQ0FBZWtCLEdBQWYsS0FBdUIsR0FBdkIsR0FBNkJsQixDQUFDLENBQUMsSUFBRCxDQUFELENBQVFtQixJQUFSLENBQWEsWUFBYixDQUF4QyxFQUFvRUMsSUFBcEUsQ0FBeUUsWUFBWTtRQUNuRnBCLENBQUMsQ0FBQ2UsSUFBRCxDQUFELENBQVFNLE9BQVI7TUFDRCxDQUZEO0lBR0g7RUFDSixDQVBELEVBWmUsQ0FvQmY7RUFDQTtBQUNILENBdEJLLENBQU4iLCJmaWxlIjoiLi9yZXNvdXJjZXMvanMvZ2VuZXJhbC5qcy5qcyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./resources/js/general.js\n"); eval("jQuery(function () {\n $(\"nav [href='\" + window.location.href + \"']\").closest('li').addClass('current'); // console.log(\n\n setTimeout(function () {\n if ($(\"nav .current\").closest('.main-nav').find('> a').attr('href') == undefined) {\n $(\"nav .current\").closest('.main-nav').find('> a').click();\n }\n\n if ($(\"nav .current\").parent().parent().hasClass('rvnm-expandable')) {\n $(\"nav .current\").parent().parent().find('> a').click();\n }\n }, 500);\n $(\"#menu-manage li\").bind('dblclick', function () {\n if (confirm('Are sure?')) {\n var self = this;\n axios.post($(\"#rem-menu\").val() + '/' + $(this).data('menuableid')).then(function () {\n $(self).slideUp();\n });\n }\n }); // );\n // $(\"nav .current\").closest('li').click();\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9yZXNvdXJjZXMvanMvZ2VuZXJhbC5qcy5qcyIsIm5hbWVzIjpbImpRdWVyeSIsIiQiLCJ3aW5kb3ciLCJsb2NhdGlvbiIsImhyZWYiLCJjbG9zZXN0IiwiYWRkQ2xhc3MiLCJzZXRUaW1lb3V0IiwiZmluZCIsImF0dHIiLCJ1bmRlZmluZWQiLCJjbGljayIsInBhcmVudCIsImhhc0NsYXNzIiwiYmluZCIs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yxFQUFnREcsS0FBaEQ7SUFDSDtFQUNKLENBUFMsRUFPUCxHQVBPLENBQVY7RUFTQVYsQ0FBQyxDQUFDLGlCQUFELENBQUQsQ0FBcUJhLElBQXJCLENBQTBCLFVBQTFCLEVBQXNDLFlBQVk7SUFDOUMsSUFBSUMsT0FBTyxDQUFDLFdBQUQsQ0FBWCxFQUEwQjtNQUN0QixJQUFJQyxJQUFJLEdBQUcsSUFBWDtNQUNBQyxLQUFLLENBQUNDLElBQU4sQ0FBV2pCLENBQUMsQ0FBQyxXQUFELENBQUQsQ0FBZWtCLEdBQWYsS0FBdUIsR0FBdkIsR0FBNkJsQixDQUFDLENBQUMsSUFBRCxDQUFELENBQVFtQixJQUFSLENBQWEsWUFBYixDQUF4QyxFQUFvRUMsSUFBcEUsQ0FBeUUsWUFBWTtRQUNuRnBCLENBQUMsQ0FBQ2UsSUFBRCxDQUFELENBQVFNLE9BQVI7TUFDRCxDQUZEO0lBR0g7RUFDSixDQVBELEVBWmUsQ0FvQmY7RUFDQTtBQUNILENBdEJLLENBQU4ifQ==\n//# sourceURL=webpack-internal:///./resources/js/general.js\n");
/***/ }), /***/ }),

Binary file not shown.

Before

Width:  |  Height:  |  Size: 671 KiB

@ -804,9 +804,7 @@ tr.border-bottom td {
} }
.pink-pattern { .pink-pattern {
background: url("../css/shop.jpg") no-repeat !important; background: url("../css/loginbg.png") !important;
background-size: cover !important;
background-position: center !important;
margin-top: 0; margin-top: 0;
padding-top: 10vh; padding-top: 10vh;
padding-bottom: 10vh; padding-bottom: 10vh;

Loading…
Cancel
Save