update addorder sytle
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user