hamed
7716b40f6a
feat: implement tax calculations for subscription and SMS wallet payments
...
- Updated SubscriptionPeriod interface to include tax-related fields: tax_percent, tax_rials, and payable_rials.
- Modified payment API documentation to reflect changes in tax handling for subscriptions and SMS wallet charges.
- Adjusted PaymentController to calculate payment amounts based on subscription period details instead of client input.
- Enhanced PaymentManager to handle net amounts for SMS wallet charges, ensuring tax is not credited to the wallet.
- Created PaymentTaxCalculator and SubscriptionTaxCalculator services to manage tax calculations consistently across payment types.
- Added tests for tax calculations in both subscription and SMS wallet contexts, ensuring correct behavior with and without tax enabled.
- Updated frontend components to display tax information appropriately during payment processes.
2026-08-09 16:51:22 +03:30
..
2026-07-13 14:16:21 +03:30
2026-07-13 14:16:21 +03:30
2026-08-06 21:51:21 +03:30
2026-08-09 13:43:30 +03:30
2026-08-09 13:43:30 +03:30
2026-08-09 08:53:55 +03:30
2026-08-04 11:39:33 +03:30
2026-08-07 21:13:38 +03:30
2026-08-07 21:13:38 +03:30
2026-08-07 21:13:38 +03:30
2026-08-07 21:13:38 +03:30
2026-08-08 07:14:40 +03:30
2026-08-08 07:14:40 +03:30
2026-07-22 16:43:56 +03:30
2026-07-23 18:39:58 +03:30
2026-07-14 00:26:47 +03:30
2026-08-04 10:42:20 +03:30
2026-08-08 07:19:48 +03:30
2026-08-08 11:40:17 +03:30
2026-08-08 11:40:17 +03:30
2026-08-04 20:38:09 +03:30
2026-08-04 20:38:09 +03:30
2026-07-25 17:50:14 +03:30
2026-08-07 21:13:38 +03:30
2026-08-07 18:52:25 +03:30
2026-08-07 18:52:25 +03:30
2026-08-08 14:57:36 +03:30
2026-08-07 21:13:38 +03:30
2026-08-07 21:13:38 +03:30
2026-08-03 09:37:22 +03:30
2026-08-07 21:13:38 +03:30
2026-08-07 21:13:38 +03:30
2026-08-08 15:50:17 +03:30
2026-08-09 12:41:11 +03:30
2026-08-07 21:13:38 +03:30
2026-08-02 18:00:48 +03:30
2026-08-07 21:13:38 +03:30
2026-08-07 21:13:38 +03:30
2026-07-19 16:09:55 +03:30
2026-08-07 21:13:38 +03:30
2026-08-07 21:13:38 +03:30
2026-07-17 12:24:32 +03:30
2026-07-11 11:49:04 +03:30
2026-08-08 15:50:17 +03:30
2026-08-07 21:13:38 +03:30
2026-07-13 13:44:02 +03:30
2026-08-07 21:13:38 +03:30
2026-08-07 21:13:38 +03:30
2026-07-12 14:49:09 +03:30
2026-08-02 17:25:56 +03:30
2026-08-02 17:25:56 +03:30
2026-07-25 17:50:14 +03:30
2026-07-15 14:32:29 +03:30
2026-07-23 18:39:58 +03:30
2026-07-19 13:29:46 +03:30
2026-08-07 21:13:38 +03:30
2026-07-18 10:38:56 +03:30
2026-07-28 15:06:28 +03:30
2026-07-15 11:39:32 +03:30
2026-07-28 15:06:28 +03:30
2026-08-09 08:38:23 +03:30
2026-08-07 21:13:38 +03:30
2026-08-07 21:13:38 +03:30
2026-08-07 21:13:38 +03:30
2026-08-07 21:13:38 +03:30
2026-08-07 19:55:32 +03:30
2026-08-07 21:13:38 +03:30
2026-07-18 10:54:37 +03:30
2026-08-02 17:14:23 +03:30
2026-08-02 17:14:23 +03:30
2026-08-07 21:13:38 +03:30
2026-08-07 21:13:38 +03:30
2026-08-07 21:13:38 +03:30
2026-08-07 21:13:38 +03:30
2026-08-04 12:30:17 +03:30
2026-08-04 12:30:17 +03:30
2026-08-07 21:13:38 +03:30
2026-07-15 09:31:50 +03:30
2026-08-07 21:13:38 +03:30
2026-08-07 21:13:38 +03:30
2026-08-07 21:13:38 +03:30
2026-08-07 21:13:38 +03:30
2026-08-07 21:13:38 +03:30
2026-08-09 07:56:48 +03:30
2026-08-09 12:41:11 +03:30
2026-07-04 22:05:27 +03:30
2026-07-19 16:09:55 +03:30
2026-08-04 12:30:17 +03:30
2026-08-05 16:09:46 +03:30
2026-08-08 11:40:17 +03:30
2026-08-07 21:13:38 +03:30
2026-08-07 21:13:38 +03:30
2026-07-02 21:22:14 +03:30
2026-07-18 10:38:56 +03:30
2026-07-18 10:38:56 +03:30
2026-08-07 21:13:38 +03:30
2026-07-14 00:07:00 +03:30
2026-08-07 21:13:38 +03:30
2026-08-07 21:13:38 +03:30
2026-08-07 21:13:38 +03:30
2026-08-07 18:11:05 +03:30
2026-08-04 19:38:49 +03:30
2026-08-07 21:13:38 +03:30
2026-08-05 16:09:46 +03:30
2026-08-07 18:11:05 +03:30
2026-08-07 21:13:38 +03:30
2026-07-23 16:36:35 +03:30
2026-08-07 21:13:38 +03:30
2026-08-07 21:13:38 +03:30
2026-07-25 18:34:18 +03:30
2026-07-25 18:34:18 +03:30
2026-07-25 18:34:18 +03:30
2026-08-07 21:13:38 +03:30
2026-08-07 21:13:38 +03:30
2026-08-09 08:38:23 +03:30
2026-08-07 21:13:38 +03:30
2026-08-07 21:13:38 +03:30
2026-07-17 21:56:27 +03:30
2026-08-09 07:56:48 +03:30
2026-08-09 08:38:23 +03:30
2026-08-07 21:13:38 +03:30
2026-08-07 21:13:38 +03:30
2026-08-07 18:11:05 +03:30
2026-07-27 16:41:52 +03:30
2026-08-09 16:51:22 +03:30
2026-08-09 16:51:22 +03:30
2026-07-30 10:30:39 +03:30
2026-08-07 21:13:38 +03:30
2026-08-07 21:13:38 +03:30
2026-08-07 12:51:26 +03:30
2026-08-07 21:13:38 +03:30
2026-07-27 16:41:52 +03:30
2026-08-09 16:51:22 +03:30
2026-08-09 16:51:22 +03:30
2026-08-05 16:09:46 +03:30
2026-08-05 16:09:46 +03:30
2026-08-07 16:28:13 +03:30
2026-08-07 21:13:38 +03:30
2026-08-07 21:13:38 +03:30
2026-08-07 21:13:38 +03:30