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
daec5951
Commit
daec5951
authored
Jul 26, 2026
by
Fares
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(swimming): remove non-existent schedule_summary column from queries
Co-Authored-By:
Claude Opus 4.6
<
noreply@anthropic.com
>
parent
3b1a514f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
6 deletions
+2
-6
SwimmingAssignmentController.php
...ity/Controllers/Swimming/SwimmingAssignmentController.php
+1
-1
SwimmingDashboardController.php
...vity/Controllers/Swimming/SwimmingDashboardController.php
+1
-2
assign.php
app/Modules/SportsActivity/Views/swimming/assign.php
+0
-3
No files found.
app/Modules/SportsActivity/Controllers/Swimming/SwimmingAssignmentController.php
View file @
daec5951
...
...
@@ -103,7 +103,7 @@ class SwimmingAssignmentController extends Controller
}
$groups
=
$db
->
select
(
"
SELECT g.id, g.name_ar, g.current_count, g.
schedule_summary, g.
min_age, g.max_age,
SELECT g.id, g.name_ar, g.current_count, g.min_age, g.max_age,
p.name_ar as program_name, p.max_capacity, p.monthly_fee_member, p.monthly_fee_nonmember,
p.age_from, p.age_to,
c.full_name_ar as coach_name
...
...
app/Modules/SportsActivity/Controllers/Swimming/SwimmingDashboardController.php
View file @
daec5951
...
...
@@ -47,8 +47,7 @@ class SwimmingDashboardController extends Controller
"
,
[
$disciplineId
,
$disciplineId
,
$disciplineId
,
$disciplineId
,
$monthStart
.
' 00:00:00'
,
$monthEnd
.
' 23:59:59'
]);
$groups
=
$db
->
select
(
"
SELECT g.id, g.name_ar, g.current_count, g.status, g.schedule_summary,
p.name_ar as program_name, p.max_capacity, p.monthly_fee_member, p.monthly_fee_nonmember,
SELECT g.id, g.name_ar, g.current_count, g.status, p.name_ar as program_name, p.max_capacity, p.monthly_fee_member, p.monthly_fee_nonmember,
c.full_name_ar as coach_name,
(SELECT COUNT(*) FROM sa_group_players gp WHERE gp.group_id = g.id AND gp.status = 'active') as active_count,
(SELECT COUNT(*) FROM sa_group_players gp WHERE gp.group_id = g.id AND gp.status = 'pending_payment') as pending_count
...
...
app/Modules/SportsActivity/Views/swimming/assign.php
View file @
daec5951
...
...
@@ -170,9 +170,6 @@ if ($done): ?>
<?php
if
(
$g
[
'coach_name'
])
:
?>
<div
style=
"font-size:11px;color:#6B7280;margin-bottom:4px;"
><i
data-lucide=
"user"
style=
"width:11px;height:11px;vertical-align:middle;margin-left:4px;"
></i>
<?=
e
(
$g
[
'coach_name'
])
?>
</div>
<?php
endif
;
?>
<?php
if
(
$g
[
'schedule_summary'
])
:
?>
<div
style=
"font-size:11px;color:#6B7280;margin-bottom:6px;"
><i
data-lucide=
"clock"
style=
"width:11px;height:11px;vertical-align:middle;margin-left:4px;"
></i>
<?=
e
(
$g
[
'schedule_summary'
])
?>
</div>
<?php
endif
;
?>
<div
style=
"display:flex;align-items:center;gap:6px;margin-bottom:6px;"
>
<div
style=
"flex:1;height:5px;background:#E5E7EB;border-radius:3px;overflow:hidden;"
>
<div
style=
"height:100%;width:
<?=
$pct
?>
%;background:
<?=
$barColor
?>
;border-radius:3px;"
></div>
...
...
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