Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
Clubphp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Clubphp
Commits
e623ab6f
Commit
e623ab6f
authored
Sep 12, 2026
by
DevPilot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(accounting): تسجيل سبب عدم إلغاء رسم المقاصة عند الارتداد بدل ما يعدّي بصمت
parent
c9dfacbc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
BouncedChequeService.php
app/Modules/Accounting/Services/BouncedChequeService.php
+10
-1
No files found.
app/Modules/Accounting/Services/BouncedChequeService.php
View file @
e623ab6f
...
@@ -149,7 +149,16 @@ final class BouncedChequeService
...
@@ -149,7 +149,16 @@ final class BouncedChequeService
// بشيك تقسيط اتحصّل عليه رسم مقاصة، بيتعكس هنا.
// بشيك تقسيط اتحصّل عليه رسم مقاصة، بيتعكس هنا.
$linkedCheque
=
ChequeClearingFeeService
::
chequeForInstrument
(
$instrumentId
);
$linkedCheque
=
ChequeClearingFeeService
::
chequeForInstrument
(
$instrumentId
);
if
(
$linkedCheque
)
{
if
(
$linkedCheque
)
{
ChequeClearingFeeService
::
reverseForCheque
((
int
)
$linkedCheque
[
'id'
]);
$rev
=
ChequeClearingFeeService
::
reverseForCheque
((
int
)
$linkedCheque
[
'id'
]);
if
(
!
$rev
[
'reversed'
]
&&
$rev
[
'error'
]
!==
null
)
{
// الارتداد نفسه بيكمّل، بس لازم يبان إن الإلغاء ما تمّش وليه —
// أشهر سبب: الرسم متعلّم عليه إنه محمّل من غير قيد فعلي وراه.
Logger
::
error
(
'Clearing fee not reversed on bounce'
,
[
'instrument_id'
=>
$instrumentId
,
'cheque_id'
=>
(
int
)
$linkedCheque
[
'id'
],
'error'
=>
$rev
[
'error'
],
]);
}
}
}
// The bank's charge on the club. Posted whoever ends up bearing it —
// The bank's charge on the club. Posted whoever ends up bearing it —
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment