Skip to content

Commit abd4fac

Browse files
Merge pull request #279 from jitendra-webkul/master
For new version
2 parents 66c9919 + 84c1445 commit abd4fac

File tree

15 files changed

+95
-8
lines changed

15 files changed

+95
-8
lines changed

.env.example

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
APP_NAME='Krayin CRM'
22
APP_ENV=local
3-
APP_VERSION=1.1.2
3+
APP_VERSION=1.1.3
44
APP_KEY=
55
APP_DEBUG=true
66
APP_URL=http://localhost

CHANGELOG for v1.x.x.md

+27
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,30 @@
1+
## **v1.1.3 (23rd of September 2021)**
2+
3+
* [feature] Refactored data grid code
4+
5+
* [feature] Add app version in admin ui
6+
7+
8+
* #244 [fixed] - The modal box should be open if we click on add lead button of the leads page.
9+
10+
* #251 [fixed] - While Adding a new attribute Entity Type field should be come only one time.
11+
12+
* #255 [fixed] - When we creating Activity. then there should be a suggestion in placeholder of Participants input field for search Participants.
13+
14+
* #257 [fixed] - [BUG] SKU Validation Bug
15+
16+
* #260 [fixed] - When we changing the lead stage to Won/Lost. then date icon should be visible in Closed Date input field.
17+
18+
* #263 [fixed] - When we are creating a activity and selecting persons for participants. then persons name should be visible below Participants input box.
19+
20+
* #269 [fixed] - [BUG] Add Lead Buttons Do Nothing
21+
22+
* #270 [fixed] - When we are creating multiple group with the same details. then there should be a warning message
23+
24+
* #272 [fixed] - When we are creating multiple Organizations with the same details. then there should be a warning message
25+
26+
27+
128
## **v1.1.2 (17th of September 2021)**
229

330

packages/Webkul/Admin/publishable/assets/css/admin.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/Webkul/Admin/publishable/assets/mix-manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"/js/admin.js": "/js/admin.js?id=171e3e15e5938d102a71",
3-
"/css/admin.css": "/css/admin.css?id=4b174e9aaba2eb225906",
3+
"/css/admin.css": "/css/admin.css?id=0bc066190988f0a58797",
44
"/images/activities-active-icon.svg": "/images/activities-active-icon.svg?id=f7887e3fdcddf68567ce",
55
"/images/activities-icon.svg": "/images/activities-icon.svg?id=0755224d86e0281d031f",
66
"/images/avatar-dark-icon.svg": "/images/avatar-dark-icon.svg?id=abefe06bd1ce2bfe7029",

packages/Webkul/Admin/src/Database/Seeders/LeadTypeSeeder.php

+6-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,12 @@ public function run()
1818
DB::table('lead_types')->insert([
1919
[
2020
'id' => 1,
21-
'name' => 'Email',
21+
'name' => 'New Business',
22+
'created_at' => $now,
23+
'updated_at' => $now,
24+
], [
25+
'id' => 2,
26+
'name' => 'Existing Business',
2227
'created_at' => $now,
2328
'updated_at' => $now,
2429
]

packages/Webkul/Admin/src/Resources/assets/sass/app.scss

+9
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,15 @@ body {
7676
top: 50px;
7777
right: 0px;
7878
bottom: inherit !important;
79+
80+
.app-version {
81+
padding: 8px 12px;
82+
display: block;
83+
cursor: default;
84+
color: #a2a2a2;
85+
font-size: $font-size-lg;
86+
border-bottom: 1px solid $border-color;
87+
}
7988
}
8089
}
8190
}

packages/Webkul/Admin/src/Resources/lang/en/app.php

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
],
2525

2626
'layouts' => [
27+
'app-version' => 'Version : :version',
2728
'dashboard' => 'Dashboard',
2829
'leads' => 'Leads',
2930
'quotes' => 'Quotes',

packages/Webkul/Admin/src/Resources/views/layouts/nav-top.blade.php

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
</div>
1515

1616
<div class="dropdown-list bottom-right">
17+
<span class="app-version">{{ __('admin::app.layouts.app-version', ['version' => 'v' . config('app.version')]) }}</span>
18+
1719
<div class="dropdown-container">
1820
<ul>
1921
<li>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<?php
2+
3+
use Illuminate\Database\Migrations\Migration;
4+
use Illuminate\Database\Schema\Blueprint;
5+
use Illuminate\Support\Facades\Schema;
6+
7+
class AddColumnExpectedCloseDateInLeadsTable extends Migration
8+
{
9+
/**
10+
* Run the migrations.
11+
*
12+
* @return void
13+
*/
14+
public function up()
15+
{
16+
Schema::table('leads', function (Blueprint $table) {
17+
$table->date('expected_close_date')->nullable();
18+
});
19+
}
20+
21+
/**
22+
* Reverse the migrations.
23+
*
24+
* @return void
25+
*/
26+
public function down()
27+
{
28+
Schema::table('leads', function (Blueprint $table) {
29+
$table->dropColumn('expected_close_date');
30+
});
31+
}
32+
}

packages/Webkul/Lead/src/Models/Lead.php

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ class Lead extends Model implements LeadContract
2727
'lead_value',
2828
'status',
2929
'lost_reason',
30+
'expected_close_date',
3031
'closed_at',
3132
'user_id',
3233
'person_id',

packages/Webkul/UI/publishable/assets/css/ui.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/Webkul/UI/publishable/assets/js/ui.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/Webkul/UI/publishable/assets/mix-manifest.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"/js/ui.js": "/js/ui.js?id=8b01185c6bd8e84ad8f6",
3-
"/css/ui.css": "/css/ui.css?id=2fd41f1a3fb9e3e2a043",
2+
"/js/ui.js": "/js/ui.js?id=1997fbe53c9fa1fa644b",
3+
"/css/ui.css": "/css/ui.css?id=a86fe6fd721910983b0e",
44
"/images/add-icon.svg": "/images/add-icon.svg?id=9135b4e0e1c239c36981",
55
"/images/align-justify-icon.svg": "/images/align-justify-icon.svg?id=ee8d48e636b80417a884",
66
"/images/arrow-down-icon.svg": "/images/arrow-down-icon.svg?id=7b5c03f96be72c9a0bef",

packages/Webkul/UI/src/Resources/assets/js/components/datagrid/filters.vue

+6
Original file line numberDiff line numberDiff line change
@@ -713,6 +713,12 @@ export default {
713713
onSubmit: function(event) {
714714
this.toggleButtonDisable(true);
715715
716+
if (! confirm('Do you really want to perform this action?')) {
717+
this.toggleButtonDisable(false);
718+
719+
return;
720+
}
721+
716722
this.$validator.validateAll().then(result => {
717723
if (result) {
718724
this.$http[this.massActionValue.method.toLowerCase()](

packages/Webkul/UI/src/Resources/assets/sass/app.scss

+4
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,10 @@ h5 {
414414
text-overflow: unset;
415415
}
416416

417+
&.id {
418+
width: 80px;
419+
}
420+
417421
&.actions {
418422
width: 100px;
419423
text-align: right;

0 commit comments

Comments
 (0)