|
|
@ -70,7 +70,7 @@ module Mobile
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
can_bidding: package.can_bidding?(user),
|
|
|
|
can_bidding: package.can_bidding?(user),
|
|
|
|
can_select_bidding_user: package.bidding_end? && package.end_bidding? && (is_creator || is_admin),
|
|
|
|
can_select_bidding_user: package.bidding_end? && package.bidding_ended? && (is_creator || is_admin),
|
|
|
|
can_edit: package.editable? && (is_creator || is_admin),
|
|
|
|
can_edit: package.editable? && (is_creator || is_admin),
|
|
|
|
can_delete: package.deletable? && (is_creator || is_admin)
|
|
|
|
can_delete: package.deletable? && (is_creator || is_admin)
|
|
|
|
}
|
|
|
|
}
|
|
|
|