Changeset 494 for trunk/admin/FullInstall.php
- Timestamp:
- Mar 1, 2013, 10:44:18 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/FullInstall.php
r493 r494 2336 2336 (40, 'Produkty', 27, 'Product', ''), 2337 2337 (41, 'Sklady', 27, 'Stock', '');"); 2338 $Manager->Execute("INSERT INTO `ServiceCategory` (`Id`, `Name`) VALUES 2339 (1, 'Internet'), 2340 (2, 'VoIP'), 2341 (3, 'Spotřeba + nájem'), 2342 (4, 'IPTV'), 2343 (5, 'IP kamery'), 2344 (6, 'Meteostanice'), 2345 (7, 'Web hosting'), 2346 (8, 'VPS hosting');"); 2347 $Manager->Execute("INSERT INTO `Service` (`Id`, `Name`, `Category`, `Price`, `CustomerCount`, `ReplaceId`, `Public`, `InternetSpeedMin`, `InternetSpeedMax`, `UploadAsymmetry`, `Memory`, `MemorySwap`, `Storage`, `CPUCount`) VALUES 2348 (1, 'Internet 4M', 1, 190, 23, NULL, 1, 4096, 204, 1, 0, 0, 0, 0), 2349 (2, 'Internet 8M', 1, 260, 23, NULL, 1, 8192, 408, 1, 0, 0, 0, 0), 2350 (3, 'Internet 16M', 1, 360, 50, NULL, 1, 16384, 816, 1, 0, 0, 0, 0), 2351 (4, 'Internet 32M', 1, 520, 6, NULL, 1, 32768, 1638, 1, 0, 0, 0, 0), 2352 (5, 'Internet 64M', 1, 750, 0, NULL, 1, 65536, 8196, 1, 0, 0, 0, 0), 2353 (6, 'Internet Instituce', 2, 1000, 1, NULL, 1, 65536, 8192, 1, 0, 0, 0, 0), 2354 (7, 'Zdarma', 3, 0, 12, NULL, 1, 128, 128, 1, 0, 0, 0, 0), 2355 (8, 'Hosting 4GB', 2, 500, 2, NULL, 1, 64000, 4000, 1, 0, 0, 0, 0), 2356 (9, 'Hosting 2GB', 2, 300, 0, NULL, 1, 40000, 2000, 1, 0, 0, 0, 0), 2357 (10, 'Hosting 1GB', 2, 170, 1, NULL, 1, 30000, 2000, 1, 0, 0, 0, 0), 2358 (11, 'Hosting 512M', 2, 100, 0, NULL, 1, 20000, 1500, 1, 0, 0, 0, 0), 2359 (12, 'Hosting 8GB', 2, 900, 1, NULL, 1, 60000, 4000, 1, 0, 0, 0, 0), 2360 (13, 'Hosting 16G', 2, 1500, 0, NULL, 1, 60000, 4000, 1, 0, 0, 0, 0), 2361 (14, 'Hosting 6GB', 2, 700, 0, NULL, 1, 64000, 4000, 1, 0, 0, 0, 0);"); 2362 $Manager->Execute("INSERT INTO `ServiceCustomerRel` (`Id`, `Service`, `Customer`, `Period`) VALUES 2363 (1, 1, 1, 0), (2, 1, 1, 1);"); 2364 $Manager->Execute("INSERT INTO `File` (`Id` ,`Name` ,`Size` ,`Directory`) VALUES (NULL , 'invoice_1.pdf', '123', NULL);"); 2365 $Manager->Execute("INSERT INTO `FinanceInvoice` (`Id` ,`BillCode` ,`Subject` ,`TimeCreation` ,`TimeDue` ,`TimePayment` ,`Value` ,`File` ,`Text` ,`PeriodTo` ,`PeriodFrom`) ". 2366 "VALUES (1 , 'VF123/2013', '1', NOW( ) , '0000-00-00 00:00:00', NULL , '300', '1', 'Měsíční paušál', '2013-01-01', '2013-01-31');"); 2367 $Manager->Execute("INSERT INTO `FinanceInvoiceItem` (`Id` ,`FinanceInvoice` ,`Description` ,`Price` ,`VAT` ,`Quantity`) ". 2368 "VALUES (1 , '1', 'Internet 16M', '300', '21', '1');"); 2369 $Manager->Execute("INSERT INTO `FinanceYear` (`Id`, `Year`, `DateStart`, `DateEnd`) VALUES 2370 (1, 2007, '2007-12-01', '2007-12-31'), 2371 (2, 2008, '2008-01-01', '2008-12-31'), 2372 (3, 2009, '2009-01-01', '2009-12-31'), 2373 (4, 2010, '2010-01-01', '2010-12-31'), 2374 (6, 2011, '2011-01-01', '2011-12-31'), 2375 (7, 2012, '2012-01-01', '2012-12-31'), 2376 (8, 2013, '2013-01-01', '2013-12-31');"); 2377 $Manager->Execute("INSERT INTO `FinanceCharge` (`Period`, `Internet`, `InternetSpeed`, `InternetSpeedReserve`, `AdministrationPerUser`, `kWh`, `BaseSpeedElement`, `BaseTariffPrice`, `TopTariffPrice`) VALUES 2378 (1, 10000, 100000, 10000, 50, 6, 1024, 50, 138), 2379 (0, 10000, 100000, 10000, 50, 6, 1024, 50, 138);"); 2338 2380 } 2339 2381
Note:
See TracChangeset
for help on using the changeset viewer.