Merge branch 'r-1902001-01' into foodcourt

This commit is contained in:
Thein Lin Kyaw
2020-08-04 11:45:01 +06:30
43 changed files with 401 additions and 970 deletions

View File

@@ -23,10 +23,10 @@ if item.is_available
json.code item.item_code
json.name item.name
json.alt_name item.alt_name
if !request_url.nil? && request_url != '' && !item.image_path.nil?
json.image request_url + item.image_path.to_s
if item.image_path.present?
json.image "#{request_url}#{item.image_path}"
else
json.image item.image_path.url
json.image ''
end
json.description item.description
json.information item.information