Skip to content

Commit

Permalink
Merge branch 'main' into features
Browse files Browse the repository at this point in the history
  • Loading branch information
3m1n3nc3 authored Jan 13, 2024
2 parents b2729b8 + aa174d1 commit 9c85047
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to `laravel-pay-pocket` will be documented in this file.

## v2.0.0 - 2024-01-12

- [2.x] Add Transaction note by @3m1n3nc3 in https://github.com/HPWebdeveloper/laravel-pay-pocket/pull/10

## v1.0.3 - 2023-12-15

- [1.x] Fix problematic class references by @imanghafoori1 in https://github.com/HPWebdeveloper/laravel-pay-pocket/pull/4
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ php artisan vendor:publish --tag="pay-pocket-wallets"
php artisan vendor:publish --tag="config"
```

This command will automatically publish the `WalletEnums.php` file into your application's `app/Enums` directory.
This command will automatically publish the `pay-pocket.php` config file and also `WalletEnums.php` file into your application's `config` and `app/Enums` directories respectively.

## Updating

If updating from version `<= 1.0.3`, new migration and config files have been added to support the new [Transaction Notes Feature](#transaction-info)
If updating to version `^2.0.0`, new migration and config files have been added to support the new [Transaction Notes Feature](#transaction-notes-8)

Follow the [Installation](#installation) Steps 2 and 3 to update your migrations.

Expand Down Expand Up @@ -139,7 +139,7 @@ Note: `wallet_1` and `wallet_2` must already be defined in the `WalletEnums`.

#### Transaction Notes ([#8][i8])

In a case where you want to enter descriptions for a particular transaction, the `$notes` param allows you to provide information about why a transaction happened.
When you need to add descriptions for a specific transaction, the `$notes` parameter enables you to provide details explaining the reason behind the transaction.

```php
$user = auth()->user();
Expand Down Expand Up @@ -258,4 +258,4 @@ Please review [our security policy](../../security/policy) on how to report secu

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

[i8]: Tag link (will be updated soon)
[i8]: https://github.com/HPWebdeveloper/laravel-pay-pocket/releases/tag/2.0.0

0 comments on commit 9c85047

Please sign in to comment.