Skip to content

Review booking model + migration + factory #48

@drewroberts

Description

@drewroberts

Comment per @sl0wik:

Make sure that booking migration + factory matching whimsical.

Make sure model booking logic is migrated from previous version.

Comments

This can be replaced with →slot_number checking:

if (empty($booking->slot_id)) {
                throw new \Exception('A booking must be for an availability slot.');
}

All pricing generation should come form checkout packages (ref to generatePricing). Ref: https://github.com/tipoff/support/blob/main/src/Contracts/Checkout/CartInterface.php (check BaseItemContainerInterface )

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions