Guest User

Untitled

a guest
Feb 19th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. if (lot.id_epics_drug == drug.id and !lot.requisition.nil? and !lot.requisition.provider.provider_category.nil? and lot.requisition.provider.provider_category.category == "CMS") then
  2. if(@lotTotalFromCMS[drug].nil?) then
  3. @lotTotalFromCMS[drug] = 0
  4. end
  5. @lotTotalFromCMS[drug] = @lotTotalFromCMS[drug] + lot.received_quantity
  6. end
Add Comment
Please, Sign In to add comment