Issues fixed

This commit is contained in:
jitendra 2018-11-13 15:43:09 +05:30
parent 37625e2a2d
commit c845fdddb8
18 changed files with 39 additions and 37 deletions

View File

@ -32,22 +32,22 @@
"phpunit/phpunit": "^7.0" "phpunit/phpunit": "^7.0"
}, },
"replace": { "replace": {
"webkul/laravel-user": "v0.1.0", "bagisto/laravel-user": "v0.1.0",
"webkul/laravel-admin": "v0.1.0", "bagisto/laravel-admin": "v0.1.0",
"webkul/laravel-ui": "v0.1.0", "bagisto/laravel-ui": "v0.1.0",
"webkul/laravel-core": "v0.1.0", "bagisto/laravel-core": "v0.1.0",
"webkul/laravel-attribute": "v0.1.0", "bagisto/laravel-attribute": "v0.1.0",
"webkul/laravel-checkout": "v0.1.0", "bagisto/laravel-checkout": "v0.1.0",
"webkul/laravel-customer": "v0.1.0", "bagisto/laravel-customer": "v0.1.0",
"webkul/laravel-inventory": "v0.1.0", "bagisto/laravel-inventory": "v0.1.0",
"webkul/laravel-category": "v0.1.0", "bagisto/laravel-category": "v0.1.0",
"webkul/laravel-product": "v0.1.0", "bagisto/laravel-product": "v0.1.0",
"webkul/laravel-shop": "v0.1.0", "bagisto/laravel-shop": "v0.1.0",
"webkul/laravel-theme": "v0.1.0", "bagisto/laravel-theme": "v0.1.0",
"webkul/laravel-shipping": "v0.1.0", "bagisto/laravel-shipping": "v0.1.0",
"webkul/laravel-payment": "v0.1.0", "bagisto/laravel-payment": "v0.1.0",
"webkul/laravel-sales": "v0.1.0", "bagisto/laravel-sales": "v0.1.0",
"webkul/laravel-tax": "v0.1.0" "bagisto/laravel-tax": "v0.1.0"
}, },
"autoload": { "autoload": {
"classmap": [ "classmap": [

View File

@ -1,5 +1,5 @@
{ {
"name": "webkul/laravel-admin", "name": "bagisto/laravel-admin",
"license": "MIT", "license": "MIT",
"authors": [ "authors": [
{ {
@ -8,9 +8,9 @@
} }
], ],
"require": { "require": {
"webkul/laravel-user": "dev-master", "bagisto/laravel-user": "dev-master",
"webkul/laravel-ui": "dev-master", "bagisto/laravel-ui": "dev-master",
"webkul/laravel-core": "dev-master" "bagisto/laravel-core": "dev-master"
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {

View File

@ -1,5 +1,5 @@
{ {
"name": "webkul/laravel-attribute", "name": "bagisto/laravel-attribute",
"license": "MIT", "license": "MIT",
"authors": [ "authors": [
{ {
@ -9,7 +9,7 @@
], ],
"require": { "require": {
"nwidart/laravel-modules": "^3.2", "nwidart/laravel-modules": "^3.2",
"webkul/laravel-core": "dev-master" "bagisto/laravel-core": "dev-master"
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {

View File

@ -1,5 +1,5 @@
{ {
"name": "webkul/laravel-category", "name": "bagisto/laravel-category",
"license": "MIT", "license": "MIT",
"authors": [ "authors": [
{ {

View File

@ -1,5 +1,5 @@
{ {
"name": "webkul/laravel-checkout", "name": "bagisto/laravel-checkout",
"license": "MIT", "license": "MIT",
"authors": [ "authors": [
{ {

View File

@ -1,5 +1,5 @@
{ {
"name": "webkul/laravel-core", "name": "bagisto/laravel-core",
"license": "MIT", "license": "MIT",
"authors": [ "authors": [
{ {

View File

@ -1,5 +1,5 @@
{ {
"name": "webkul/laravel-customer", "name": "bagisto/laravel-customer",
"description": "Customers Package for themeing and various features for customers", "description": "Customers Package for themeing and various features for customers",
"license": "MIT", "license": "MIT",
"authors": [ "authors": [

View File

@ -1,5 +1,5 @@
{ {
"name": "webkul/laravel-inventory", "name": "bagisto/laravel-inventory",
"license": "MIT", "license": "MIT",
"authors": [ "authors": [
{ {

View File

@ -1,5 +1,5 @@
{ {
"name": "webkul/laravel-payment", "name": "bagisto/laravel-payment",
"license": "MIT", "license": "MIT",
"authors": [ "authors": [
{ {

View File

@ -1,5 +1,5 @@
{ {
"name": "webkul/laravel-product", "name": "bagisto/laravel-product",
"license": "MIT", "license": "MIT",
"authors": [ "authors": [
{ {

View File

@ -1,5 +1,5 @@
{ {
"name": "webkul/laravel-sales", "name": "bagisto/laravel-sales",
"license": "MIT", "license": "MIT",
"authors": [ "authors": [
{ {

View File

@ -1,5 +1,5 @@
{ {
"name": "webkul/laravel-shipping", "name": "bagisto/laravel-shipping",
"description": "Shipping Package for Shipping Method", "description": "Shipping Package for Shipping Method",
"license": "MIT", "license": "MIT",
"authors": [ "authors": [

View File

@ -1,5 +1,5 @@
{ {
"name": "webkul/laravel-shop", "name": "bagisto/laravel-shop",
"license": "MIT", "license": "MIT",
"description" : "Shop package for store front and customers", "description" : "Shop package for store front and customers",
"authors": [ "authors": [

View File

@ -83,7 +83,7 @@
@push('scripts') @push('scripts')
<script type="text/x-template" id="product-view-template"> <script type="text/x-template" id="product-view-template">
<form method="POST" id="product-form" action="{{ route('cart.add', $product->id) }}" @click.prevent="onSubmit($event)"> <form method="POST" id="product-form" action="{{ route('cart.add', $product->id) }}" @click="onSubmit($event)">
<slot></slot> <slot></slot>
@ -103,6 +103,8 @@
if(e.target.getAttribute('type') != 'submit') if(e.target.getAttribute('type') != 'submit')
return; return;
e.preventDefault();
this.$validator.validateAll().then(result => { this.$validator.validateAll().then(result => {
if (result) { if (result) {
if(e.target.getAttribute('data-href')) { if(e.target.getAttribute('data-href')) {

View File

@ -1,5 +1,5 @@
{ {
"name": "webkul/laravel-tax", "name": "bagisto/laravel-tax",
"license": "MIT", "license": "MIT",
"description" : "Tax package for store front and customers", "description" : "Tax package for store front and customers",
"authors": [ "authors": [

View File

@ -1,5 +1,5 @@
{ {
"name": "webkul/laravel-theme", "name": "bagisto/laravel-theme",
"license": "MIT", "license": "MIT",
"authors": [ "authors": [
{ {

View File

@ -1,5 +1,5 @@
{ {
"name": "webkul/laravel-ui", "name": "bagisto/laravel-ui",
"license": "MIT", "license": "MIT",
"authors": [ "authors": [
{ {

View File

@ -1,5 +1,5 @@
{ {
"name": "webkul/laravel-user", "name": "bagisto/laravel-user",
"license": "MIT", "license": "MIT",
"authors": [ "authors": [
{ {