-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Laravel ecommerce RMA update in v2.0 #5
Closed
Closed
Changes from 2 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
32f250d
Laravel ecommerce RMA update in v2.0
antuchaudharyqlo246 0288311
Update the edit and create file in RMA
antuchaudharyqlo246 885619b
Update the edit and create file in RMA
antuchaudharyqlo246 c873d46
Add the additional field in create rma panel
antuchaudharyqlo246 f1593ec
Add the additional field in create rma panel
antuchaudharyqlo246 43e47ae
now the customer create the RMA
antuchaudharyqlo246 2cad327
Admin can change the rma status when customer generate the RMA
antuchaudharyqlo246 3ec8cad
Update the guest user using RMA return request link
antuchaudharyqlo246 12e685b
Update the RMA for admin, customer and guest for v2.0
antuchaudharyqlo246 9d6bcb6
RMA update in v2.0 for Admin, customer and guest
antuchaudharyqlo246 1eab8ea
Update the rma module for v2.0
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"private": true, | ||
"scripts": { | ||
"dev": "vite", | ||
"build": "vite build" | ||
}, | ||
"devDependencies": { | ||
"autoprefixer": "^10.4.14", | ||
"axios": "^1.1.2", | ||
"laravel-vite-plugin": "^0.7.2", | ||
"postcss": "^8.4.23", | ||
"tailwindcss": "^3.3.2", | ||
"vite": "^4.0.0", | ||
"vue": "^3.2.47" | ||
}, | ||
"dependencies": { | ||
"@vee-validate/i18n": "^4.9.1", | ||
"@vee-validate/rules": "^4.9.1", | ||
"mitt": "^3.0.0", | ||
"vee-validate": "^4.9.1", | ||
"vue-flatpickr": "^2.3.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
module.exports = { | ||
plugins: { | ||
tailwindcss: {}, | ||
autoprefixer: {}, | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,10 +4,14 @@ | |
[ | ||
'key' => 'rma', | ||
'name' => 'rma::app.admin.admin-name.rma', | ||
'info' => 'Return merchandise authorization.', | ||
'icon' => 'settings/order.svg', | ||
'sort' => 2 | ||
], [ | ||
'key' => 'rma.settings', | ||
'name' => 'rma::app.admin.setting.settings', | ||
'info' => 'E-commerce merchant to permit the return of a product.', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please do not use static text, use the translation files instead. |
||
'icon' => 'settings/order.svg', | ||
'sort' => 1, | ||
], [ | ||
'key' => 'rma.settings.general', | ||
|
@@ -39,4 +43,4 @@ | |
], | ||
], | ||
], | ||
]; | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<?php | ||
|
||
namespace Webkul\RMA\Console\Commands; | ||
|
||
use Artisan; | ||
use Illuminate\Console\Command; | ||
|
||
class Install extends Command | ||
{ | ||
/** | ||
* The name and signature of the console command. | ||
* | ||
* @var string | ||
*/ | ||
protected $signature = 'rma:install'; | ||
|
||
/** | ||
* The console command description. | ||
* | ||
* @var string | ||
*/ | ||
protected $description = 'Install the RMA package'; | ||
|
||
/** | ||
* Create a new command instance. | ||
* | ||
* @return void | ||
*/ | ||
public function __construct() | ||
{ | ||
parent::__construct(); | ||
} | ||
|
||
/** | ||
* Execute the console command. | ||
* | ||
* @return mixed | ||
*/ | ||
public function handle() | ||
{ | ||
|
||
Artisan::call('migrate', [], $this->getOutput()); | ||
|
||
Artisan::call('db:seed', [ | ||
'--class' => "Webkul\\RMA\\Database\\Seeders\\DatabaseSeeder" | ||
], $this->getOutput()); | ||
|
||
Artisan::call('optimize', [], $this->getOutput()); | ||
|
||
Artisan::call('vendor:publish', [ | ||
'--provider' => "Webkul\RMA\Providers\RMAServiceProvider", | ||
'--force' => true | ||
], $this->getOutput()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please do not use static text, use the translation files instead.