- modified: routes/web.php
- modified: resources/views/admin/finance/settings/index.blade.php
- modified: app/Http/Controllers/Admin/FinanceSettingController.php
- modified: app/Http/Controllers/User/PaymentController.php
- modified: config/services.php
- created : app/Services/BkashService.php
- created : public/img/payments/bkash.png
- created : Insert New row in Payment Platform table
- modified: Env
This file contains hidden or 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
/*! | |
* jQuery.textcomplete.js | |
* | |
* Repositiory: https://github.com/yuku-t/jquery-textcomplete | |
* License: MIT | |
* Author: Yuku Takahashi | |
*/ | |
;(function ($) { |
This file contains hidden or 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
function generate_unique_number() { | |
$number = mt_rand(1000000000, 9999999999); // Generate a random 10-digit number | |
$sum = 0; | |
for ($i = 2; $i <= 11; $i++) { // Calculate the checksum digit | |
$digit = substr($number, 11 - $i, 1); | |
$sum += $digit * $i; | |
} | |
$checksum = ($sum % 11) == 10 ? '0' : ($sum % 11); // If the checksum is 10, replace it with 0 | |
return substr($number, 0, 9) . $checksum; // Return the number with the checksum digit appended | |
} |
This file contains hidden or 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
{ | |
"afghanistan": { "bn": "আফগানিস্তান", "en": "Afghanistan" }, | |
"albania": { "bn": "আলবেনিয়া", "en": "Albania" }, | |
"algeria": { "bn": "আলজেরিয়া", "en": "Algeria" }, | |
"american_samoa": { "bn": "আমেরিকান সামোয়া", "en": "American Samoa" }, | |
"andorra": { "bn": "এন্ডোরা", "en": "Andorra" }, | |
"angola": { "bn": "অ্যাঙ্গোলা", "en": "Angola" }, | |
"anguilla": { "bn": "এ্যাঙ্গুইলা", "en": "Anguilla" }, | |
"antigua_barbuda": { "bn": "এন্টিগুয়া (বার্বুডা)", "en": "Antigua (Barbuda)" }, | |
"argentina": { "bn": "আর্জেন্টিনা", "en": "Argentina" }, |
This file contains hidden or 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
For generating refresh token | |
https://developers.google.com/oauthplayground | |
for any help | |
https://www.youtube.com/watch?v=OPDkQ3V4Goo&ab_channel=ImranicShow | |
composer require spatie/laravel-backup [docs: https://spatie.be/docs/laravel-backup/v8/installation-and-setup] | |
eta dia config file publish korben | |
php artisan vendor:publish --provider="Spatie\Backup\BackupServiceProvider" | |
This file contains hidden or 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
Install Latest "intervention/image": "3.5.0", | |
composer require intervention/image 3.5.0 |
This file contains hidden or 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
// .htaccess for park main domain to a dir | |
RewriteEngine on | |
RewriteCond %{HTTP_HOST} ^(www.)?domain.com$ | |
RewriteCond %{REQUEST_URI} !^/dir/ | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule ^(.*)$ /dir/$1 | |
RewriteCond %{HTTP_HOST} ^(www.)?domain.com$ | |
RewriteRule ^(/)?$ dir/ [L] |
First Install Custom CSS and JS Loader
"vscode_custom_css.imports": [
"file:///home/ds/vscode.css",
"file:///home/ds/vscode.js"
]