Skip to content

Ofoghe talaei #2226

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

Open
wants to merge 39 commits into
base: 2.1
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
513b699
add issue and expiry date
Alireza2756 May 3, 2025
5fe5305
update
Alireza2756 May 27, 2025
e3cd13a
add landing
Alireza2756 May 27, 2025
129514e
update logo
Alireza2756 May 27, 2025
2372230
update
Alireza2756 May 27, 2025
e4bf6a4
update
Alireza2756 May 27, 2025
4e85818
update
Alireza2756 May 27, 2025
0939f24
update
Alireza2756 May 27, 2025
b0fefdc
add field permissions
Alireza2756 Jun 6, 2025
393d1e0
update
Alireza2756 Jun 11, 2025
0fe0203
change style and strucure and logo in login and forget password page
mrmodarres Jun 12, 2025
f2f415f
responsive design in login and forget password page
mrmodarres Jun 12, 2025
c15924b
bug fixes
Alireza2756 Jun 23, 2025
a7d3dbd
add files
Alireza2756 Jun 23, 2025
f8fed1b
update
Alireza2756 Jun 24, 2025
a3c9a8c
update css
Alireza2756 Jun 24, 2025
d504817
update
Alireza2756 Jun 25, 2025
116686b
update
Alireza2756 Jun 29, 2025
c80826f
update
Alireza2756 Jun 29, 2025
124e083
update
Alireza2756 Jul 2, 2025
d828ab7
update
Alireza2756 Jul 12, 2025
5009a8a
add blocker
Alireza2756 Jul 12, 2025
d5b9838
add blocker
Alireza2756 Jul 12, 2025
f9e6702
add blocker
Alireza2756 Jul 12, 2025
7e2f2fc
add blocker
Alireza2756 Jul 12, 2025
bfff2d0
add blocker
Alireza2756 Jul 12, 2025
72e0196
update
Alireza2756 Jul 19, 2025
23d3bae
update
Alireza2756 Jul 19, 2025
6763000
update
Alireza2756 Jul 19, 2025
7620f1a
update
Alireza2756 Jul 22, 2025
40e1b1d
update
Alireza2756 Jul 25, 2025
dc6dc07
update
Alireza2756 Jul 25, 2025
b0e9f1f
update
Alireza2756 Jul 25, 2025
a9c48c5
update
Alireza2756 Jul 25, 2025
ea9292f
bug fixes
Alireza2756 Jul 25, 2025
cb35228
pdf fixes
Alireza2756 Jul 25, 2025
5668990
pdf fixes
Alireza2756 Jul 25, 2025
527f273
update
Alireza2756 Jul 28, 2025
e365c9a
fix
Alireza2756 Jul 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,3 +129,7 @@ Krayin CRM is a fully open-source CRM framework which will always be free under
### Security Vulnerabilities

Please don't disclose security vulnerabilities publicly. If you find any security vulnerability in Krayin CRM then please email us: sales@krayincrm.com.
```
php artisan app:clear-all-cache
```

45 changes: 45 additions & 0 deletions app/Console/Commands/ClearAllCache.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?php

namespace App\Console\Commands;

use Illuminate\Console\Command;
use Illuminate\Support\Facades\Artisan;

class ClearAllCache extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'app:clear-all-cache';

/**
* The console command description.
*
* @var string
*/
protected $description = 'Command description';

/**
* Execute the console command.
*/
public function handle()
{
$this->info('Clearing all cache...');

Artisan::call('cache:clear');
$this->info('Application cache cleared.');

Artisan::call('route:clear');
$this->info('Route cache cleared.');

Artisan::call('config:clear');
$this->info('Config cache cleared.');

Artisan::call('view:clear');
$this->info('View cache cleared.');

$this->info('All caches cleared successfully.');
}
}
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"diglactic/laravel-breadcrumbs": "^8.0",
"doctrine/dbal": "^3.0",
"guzzlehttp/guzzle": "^7.0.1",
"intervention/image": "^3.11",
"khaled.alshamaa/ar-php": "^6.3",
"konekt/concord": "^1.10",
"laravel/framework": "^10.0",
Expand All @@ -22,6 +23,8 @@
"maatwebsite/excel": "^3.1",
"mpdf/mpdf": "^8.2",
"prettus/l5-repository": "^2.7.9",
"setasign/fpdf": "^1.8",
"setasign/fpdi": "^2.6",
"smalot/pdfparser": "^2.11",
"webklex/laravel-imap": "^5.3"
},
Expand Down
192 changes: 191 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('activity_files', function (Blueprint $table) {
$table->date('issue_date')->nullable();
$table->date('expiry_date')->nullable();
});
}

/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('activity_files', function (Blueprint $table) {
$table->dropColumn(['issue_date', 'expiry_date']);
});
}
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('roles', function (Blueprint $table) {
$table->json('visible_person_fields')->nullable()->after('name');
});
}

/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('roles', function (Blueprint $table) {
$table->dropColumn('visible_person_fields');
});
}
};
35 changes: 35 additions & 0 deletions database/migrations/2025_06_28_212411_create_contacts_table.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('related_contacts', function (Blueprint $table) {
$table->id();
$table->string('name');
$table->string('type');
$table->json('mobile_numbers')->nullable();
$table->json('emails')->nullable();
$table->date('eid_expiry')->nullable();
$table->unsignedBigInteger('person_id');
$table->timestamps();

$table->foreign('person_id')->references('id')->on('persons')->onDelete('cascade');
});
}

/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('related_contacts');
}
};
Loading