Skip to content

Commit

Permalink
Fix bookcal database structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Hystepik committed Aug 31, 2023
1 parent 5d9d444 commit c545f05
Show file tree
Hide file tree
Showing 18 changed files with 13 additions and 3,603 deletions.
113 changes: 0 additions & 113 deletions htdocs/bookcal/admin/booking_extrafields.php

This file was deleted.

5 changes: 2 additions & 3 deletions htdocs/bookcal/bookcalindex.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
// Load Dolibarr environment
require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
require_once DOL_DOCUMENT_ROOT.'/bookcal/class/booking.class.php';

// Load translation files required by the page
$langs->loadLangs(array("agenda"));
Expand Down Expand Up @@ -74,7 +73,7 @@
// Draft MyObject
if ($user->hasRight('bookcal', 'availabilities', 'read') && isModEnabled('bookcal')) {
$langs->load("orders");
$myobjectstatic = new Booking($db);
/*$myobjectstatic = new Booking($db);
$sql = "SELECT rowid, `ref`, fk_soc, fk_project, description, note_public, note_private, date_creation, tms, fk_user_creat, fk_user_modif, last_main_doc, import_key, model_pdf, status, firstname, lastname, email, `start`, duration";
$sql .= " FROM ". MAIN_DB_PREFIX . 'bookcal_booking';
Expand Down Expand Up @@ -129,7 +128,7 @@
$db->free($resql);
} else {
dol_print_error($db);
}
}*/
}
//END MODULEBUILDER DRAFT MYOBJECT */

Expand Down
Loading

0 comments on commit c545f05

Please sign in to comment.