Skip to content

Net rate calculation bug #509

@kkolotyuk

Description

@kkolotyuk

During Quotation#net_rate calculation we tried to find property by property_id

  def property
    @property ||= PropertyRepository.identified_by(property_id).first
  end

But property_id is not unique in our DB. We need to use supplier_name or even better host_id

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions