Menu

## BirthdayController extends Controller
in package

BirthdayController.php : 32

Class BirthdayController

Handles birthday and work-anniversary related features for the accountant dashboard.

Responsibilities:

- Fetch student birthdays
- Fetch teacher birthdays
- Fetch teacher work anniversaries
- Provide data for dashboard views
- Return API resource collections for UI consumption

### Table of Contents

#### Methods

birthday() : View
  Show the accountant birthday dashboard view.
birthdayCreate() : View
  Show the accountant teacher-birthday creation view.
birthdayTeacher() : Collection}
  Return data for the teacher birthday UI: list of teachers and templates.
birthdayUser() : Collection}
  Return data for the birthday UI: list of users and SMS templates.
showBirthday() : AnonymousResourceCollection
  Return today's student birthdays as a resource collection.
showBirthdayTeacher() : AnonymousResourceCollection
  Return today's teacher birthdays as a resource collection.
showWorkAnniversary() : AnonymousResourceCollection
  Return today's teacher work anniversaries as a resource collection.
workAnniversary() : Collection}
  Return data for work-anniversary UI: list and templates.
workAnniversaryCreate() : View
  Show the accountant work-anniversary creation view.

### Methods

#### birthday()

BirthdayController.php : 84

Show the accountant birthday dashboard view.

`public birthday() : View`

##### Return values

View

#### birthdayCreate()

BirthdayController.php : 134

Show the accountant teacher-birthday creation view.

`public birthdayCreate() : View`

##### Return values

View

#### birthdayTeacher()

BirthdayController.php : 113

Return data for the teacher birthday UI: list of teachers and templates.

`public birthdayTeacher() : Collection}`

##### Return values

Collection}

#### birthdayUser()

BirthdayController.php : 63

Return data for the birthday UI: list of users and SMS templates.

`public birthdayUser() : Collection}`

##### Return values

Collection}

#### showBirthday()

BirthdayController.php : 44

Return today's student birthdays as a resource collection.

`public showBirthday() : AnonymousResourceCollection`

##### Return values

AnonymousResourceCollection

#### showBirthdayTeacher()

BirthdayController.php : 94

Return today's teacher birthdays as a resource collection.

`public showBirthdayTeacher() : AnonymousResourceCollection`

##### Return values

AnonymousResourceCollection

#### showWorkAnniversary()

BirthdayController.php : 144

Return today's teacher work anniversaries as a resource collection.

`public showWorkAnniversary() : AnonymousResourceCollection`

##### Return values

AnonymousResourceCollection

#### workAnniversary()

BirthdayController.php : 163

Return data for work-anniversary UI: list and templates.

`public workAnniversary() : Collection}`

##### Return values

Collection}

#### workAnniversaryCreate()

BirthdayController.php : 184

Show the accountant work-anniversary creation view.

`public workAnniversaryCreate() : View`

##### Return values

View

## Search results