change query for report

This commit is contained in:
phyusin
2018-08-30 17:45:51 +06:30
parent 78da662a57
commit aeb729c8f4
3 changed files with 14 additions and 4 deletions

View File

@@ -252,6 +252,8 @@
provider = "Pick-Up"
elsif @delivery.provider == 'direct_delivery'
provider = "Direct Delivery"
elsif @delivery.provider == 'turbo'
provider = "TURBO"
else
provider = @delivery.provider
end