<< Masa.20120124-fix-quanty-page-recycle-object-dt-error-minifi-recent-registration-interaction_basket-encoding-errors-oddb_org | Index | Masa.20120120-export_oddbdat-oddb2tdat-export_oddb_csv-mail_order_price-oddb_org >>
- Implement mail_order_price logo mymedi oddb.org
- Ready for mail_order_price (oddb.org)
- Added jobs/import_mail_order_price (oddb.org)
- Added src/plugin/mail_order_price.rb to update Packge#mail_order_prices (oddb.org)
- If a logo file is set not by full path, the logo file is searched in doc/resources/logos directory when import_mail_order_price (oddb.org)
Implement mail_order_price logo mymedi oddb.org
Note (for development)
- Package::MailOrderPrice class is newly defined
- Package::MailOrderPrice is a subclass of Struct class
- An instance of MailOrderPrice is a Persistable object but it does not have odba_id, which means pointer method is unavailable.
- Package#add_mail_order_price and or Package#delete_mail_order_price_at(index), Package#delete_all_mail_order_prices should be used rather than App#update, App#delete methods in order to update mail_order_price objects.
How to import data
jobs/import_mail_order_prices 'mail_order_price.csv', 'logo_company1_mail_order.jpg'
- mail_order_prices.csv should be in data/csv directory and 'logo_company1_mail_order.jpg' should be in doc/resources/logos directory
- edit src/custom/lookandfeelwrapper.rb to modify the look and feel for MyMedi