Convert pic_id to pic_filename - db and csv files

This commit is contained in:
i92guboj
2016-12-19 18:37:52 +01:00
parent 3a2dd7134f
commit c6e4584f71
7 changed files with 29 additions and 30 deletions

View File

@@ -70,11 +70,11 @@
<![endif]-->
<!-- start mincss template tags -->
<link rel="stylesheet" type="text/css" href="dist/jquery-ui.css"/>
<link rel="stylesheet" type="text/css" href="dist/opensourcepos.min.css?rel=d5b9522f2f"/>
<link rel="stylesheet" type="text/css" href="dist/opensourcepos.min.css?rel=6f7eba2cba"/>
<link rel="stylesheet" type="text/css" href="dist/style.css"/>
<!-- end mincss template tags -->
<!-- start minjs template tags -->
<script type="text/javascript" src="dist/opensourcepos.min.js?rel=bc5842b19a"></script>
<script type="text/javascript" src="dist/opensourcepos.min.js?rel=3ea68dbf98"></script>
<!-- end minjs template tags -->
<?php endif; ?>

View File

@@ -195,7 +195,7 @@ CREATE TABLE `ospos_items` (
`reorder_level` decimal(15,3) NOT NULL DEFAULT '0',
`receiving_quantity` decimal(15,3) NOT NULL DEFAULT '1',
`item_id` int(10) NOT NULL AUTO_INCREMENT,
`pic_id` int(10) DEFAULT NULL,
`pic_filename` varchar(255) DEFAULT NULL,
`allow_alt_description` tinyint(1) NOT NULL,
`is_serialized` tinyint(1) NOT NULL,
`deleted` int(1) NOT NULL DEFAULT '0',

View File

@@ -195,7 +195,7 @@ CREATE TABLE `ospos_items` (
`reorder_level` decimal(15,3) NOT NULL DEFAULT '0',
`receiving_quantity` decimal(15,3) NOT NULL DEFAULT '1',
`item_id` int(10) NOT NULL AUTO_INCREMENT,
`pic_id` int(10) DEFAULT NULL,
`pic_filename` varchar(255) DEFAULT NULL,
`allow_alt_description` tinyint(1) NOT NULL,
`is_serialized` tinyint(1) NOT NULL,
`deleted` int(1) NOT NULL DEFAULT '0',

View File

@@ -195,7 +195,7 @@ CREATE TABLE `ospos_items` (
`reorder_level` decimal(15,3) NOT NULL DEFAULT '0',
`receiving_quantity` decimal(15,3) NOT NULL DEFAULT '1',
`item_id` int(10) NOT NULL AUTO_INCREMENT,
`pic_id` int(10) DEFAULT NULL,
`pic_filename` varchar(255) DEFAULT NULL,
`allow_alt_description` tinyint(1) NOT NULL,
`is_serialized` tinyint(1) NOT NULL,
`deleted` int(1) NOT NULL DEFAULT '0',

View File

@@ -1,2 +1,2 @@
UPC/EAN/ISBN,Item Name,Category,Supplier ID,Cost Price,Unit Price,Tax 1 Name,Tax 1 Percent,Tax 2 Name ,Tax 2 Percent,Reorder Level,Description,Allow Alt Description,Item has Serial Number,custom1,custom2,custom3,custom4,custom5,custom6,custom7,custom8,custom9,custom10,location_id,quantity
33333333,Apple iMac,Computers,,800,1200,Tax 1,8,Tax 2,10,1,Best Computer ever,y,,"Oz, Frank",The Bunny and the Hill,"Monkeys,Giraffes,Gorillas",English,New,Apple,,1999,D3lk3jlkjs,Hardbound,1,100
UPC/EAN/ISBN,Item Name,Category,Supplier ID,Cost Price,Unit Price,Tax 1 Name,Tax 1 Percent,Tax 2 Name ,Tax 2 Percent,Reorder Level,Description,Allow Alt Description,Item has Serial Number,custom1,custom2,custom3,custom4,custom5,custom6,custom7,custom8,custom9,custom10,location_id,quantity,picture filename with extension
33333333,Apple iMac,Computers,,800,1200,Tax 1,8,Tax 2,10,1,Best Computer ever,y,,"Oz, Frank",The Bunny and the Hill,"Monkeys,Giraffes,Gorillas",English,New,Apple,,1999,D3lk3jlkjs,Hardbound,1,100,picture file name (upload by hand)
1 UPC/EAN/ISBN Item Name Category Supplier ID Cost Price Unit Price Tax 1 Name Tax 1 Percent Tax 2 Name Tax 2 Percent Reorder Level Description Allow Alt Description Item has Serial Number custom1 custom2 custom3 custom4 custom5 custom6 custom7 custom8 custom9 custom10 location_id quantity picture filename with extension
2 33333333 Apple iMac Computers 800 1200 Tax 1 8 Tax 2 10 1 Best Computer ever y Oz, Frank The Bunny and the Hill Monkeys,Giraffes,Gorillas English New Apple 1999 D3lk3jlkjs Hardbound 1 100 picture file name (upload by hand)

View File

File diff suppressed because one or more lines are too long

View File

File diff suppressed because one or more lines are too long