update addorder sytle

This commit is contained in:
Aung Myo
2018-03-19 18:22:15 +06:30
parent 9836e3690e
commit 8f2aa994b5
3 changed files with 1 additions and 4 deletions

View File

@@ -47,10 +47,8 @@ class Menu < ApplicationRecord
def self.import(file)
spreadsheet = Roo::Spreadsheet.open(file.path)
puts spreadsheet.info
spreadsheet = Roo::Excelx.new(file.path)
puts spreadsheet.info
# Use the extension option if the extension is ambiguous.
spreadsheet = Roo::Spreadsheet.open(file.path, extension: :xlsx)