Skip to content

Commit

Permalink
Merge pull request #762 from grandoc/develop
Browse files Browse the repository at this point in the history
fix sql error
  • Loading branch information
eldy committed Mar 20, 2013
2 parents a2763df + a3ad061 commit 5b6a12d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions htdocs/admin/prelevement.php
Expand Up @@ -117,6 +117,17 @@
$linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToModuleList").'</a>';

print_fiche_titre($langs->trans("WithdrawalsSetup"),$linkback,'setup');
print '<br>';

$h = 0;

$head[$h][0] = DOL_URL_ROOT."/admin/prelevement.php";
$head[$h][1] = $langs->trans("Withdrawals");
$head[$h][2] = 'Withdrawal';
$hselected=$h;
$h++;

dol_fiche_head($head, $hselected, $langs->trans("ModuleSetup"));

print '<form method="post" action="prelevement.php?action=set">';
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
Expand Down
2 changes: 1 addition & 1 deletion htdocs/install/mysql/migration/3.3.0-3.4.0.sql
Expand Up @@ -154,7 +154,7 @@ ALTER TABLE llx_holiday ADD COLUMN note_public text;

-- Add new trigger on Invoice BILL_UNVALIDATE + Index
INSERT INTO llx_c_action_trigger (rowid,code,label,description,elementtype,rang) values (28,'BILL_UNVALIDATE','Customer invoice unvalidated','Executed when a customer invoice status set back to draft','facture',10);
ALTER TABLE llx_c_action_trigger ADD INDEX idx_action_trigger_rang (rang)
ALTER TABLE llx_c_action_trigger ADD INDEX idx_action_trigger_rang (rang);


ALTER TABLE llx_facture_fourn_det ADD COLUMN fk_code_ventilation integer DEFAULT 0 NOT NULL;
Expand Down

0 comments on commit 5b6a12d

Please sign in to comment.