diff --git a/htdocs/comm/propal.php b/htdocs/comm/propal.php
index 1ef9953a6d9..9ab3a1967f1 100644
--- a/htdocs/comm/propal.php
+++ b/htdocs/comm/propal.php
@@ -1755,7 +1755,7 @@ if ($action == 'create')
if ($action != 'editdate' && ! empty($object->brouillon))
print '
id . '">' . img_edit($langs->trans('SetDate'), 1) . ' | ';
print '';
- print '';
+ print ' | ';
if (! empty($object->brouillon) && $action == 'editdate') {
print ' | ';
+ print ' | ';
if (! empty($object->brouillon) && $action == 'editecheance') {
print ' | ';
+ print ' | ';
if ($action == 'editconditions') {
$form->form_conditions_reglement($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->cond_reglement_id, 'cond_reglement_id');
} else {
@@ -1822,7 +1822,7 @@ if ($action == 'create')
$langs->load('deliveries');
print ' | | ';
print $form->editfieldkey($langs->trans('DeliveryDate'), 'date_livraison', $object->date_livraison, $object, $user->rights->propal->creer);
- print ' | ';
+ print ' | ';
print $form->editfieldval($langs->trans('DeliveryDate'), 'date_livraison', $object->date_livraison, $object, $user->rights->propal->creer, 'day');
print ' | ';
print '
';
@@ -1837,7 +1837,7 @@ if ($action == 'create')
if ($action != 'editavailability' && ! empty($object->brouillon))
print 'id . '">' . img_edit($langs->transnoentitiesnoconv('SetAvailability'), 1) . ' | ';
print '';
- print '';
+ print ' | ';
if ($action == 'editavailability') {
$form->form_availability($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->availability_id, 'availability_id', 1);
} else {
@@ -1856,7 +1856,7 @@ if ($action == 'create')
if ($action != 'editshippingmethod' && $user->rights->propal->creer)
print ' | id.'">'.img_edit($langs->trans('SetShippingMode'),1).' | ';
print '';
- print '';
+ print ' | ';
if ($action == 'editshippingmethod') {
$form->formSelectShippingMethod($_SERVER['PHP_SELF'].'?id='.$object->id, $object->shipping_method_id, 'shipping_method_id', 1);
} else {
@@ -1874,7 +1874,7 @@ if ($action == 'create')
if ($action != 'editdemandreason' && ! empty($object->brouillon))
print ' | id . '">' . img_edit($langs->transnoentitiesnoconv('SetDemandReason'), 1) . ' | ';
print '';
- print '';
+ print ' | ';
if ($action == 'editdemandreason') {
$form->formInputReason($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->demand_reason_id, 'demand_reason_id', 1);
} else {
@@ -1892,7 +1892,7 @@ if ($action == 'create')
if ($action != 'editmode' && ! empty($object->brouillon))
print ' | id . '">' . img_edit($langs->transnoentitiesnoconv('SetMode'), 1) . ' | ';
print '';
- print '';
+ print ' | ';
if ($action == 'editmode') {
$form->form_modes_reglement($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->mode_reglement_id, 'mode_reglement_id');
} else {
@@ -1912,7 +1912,7 @@ if ($action == 'create')
if ($action != 'classify')
print ' | ' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' | ';
print '';
- print '';
+ print ' | ';
if ($action == 'classify') {
$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1);
} else {
@@ -1941,7 +1941,7 @@ if ($action == 'create')
// Outstanding Bill
print ' | | ';
print $langs->trans('OutstandingBill');
- print ' | ';
+ print ' | ';
print price($soc->get_OutstandingBill()) . ' / ';
print price($soc->outstanding_limit, 0, $langs, 1, - 1, - 1, $conf->currency);
print ' | ';
@@ -1958,7 +1958,7 @@ if ($action == 'create')
if ($action != 'editbankaccount' && $user->rights->propal->creer)
print 'id.'">'.img_edit($langs->trans('SetBankAccount'),1).' | ';
print '
';
- print '';
+ print ' | ';
if ($action == 'editbankaccount') {
$form->formSelectAccount($_SERVER['PHP_SELF'].'?id='.$object->id, $object->fk_account, 'fk_account', 1);
} else {
@@ -1979,7 +1979,7 @@ if ($action == 'create')
else print ' ';
print ' | ';
print '';
- print '';
+ print ' | ';
if ($action != 'editincoterm')
{
print $form->textwithpicto($object->display_incoterms(), $object->libelle_incoterms, 1);
@@ -1992,16 +1992,20 @@ if ($action == 'create')
}
// Other attributes
- $cols = 3;
+ $cols = 5;
include DOL_DOCUMENT_ROOT . '/core/tpl/extrafields_view.tpl.php';
// Amount HT
- print ' | | ' . $langs->trans('AmountHT') . ' | ';
+ print '
| ' . $langs->trans('AmountHT') . ' | ';
print '' . price($object->total_ht, '', $langs, 0, - 1, - 1, $conf->currency) . ' | ';
// Margin Infos
- if (! empty($conf->margin->enabled)) {
- print '';
+ if (! empty($conf->margin->enabled))
+ {
+ $rowspan=4;
+ if ($mysoc->localtax1_assuj == "1" || $object->total_localtax1 != 0) $rowspan++;
+ if ($mysoc->localtax2_assuj == "1" || $object->total_localtax2 != 0) $rowspan++;
+ print ' | ';
$formmargin->displayMarginInfos($object);
print ' | ';
}
@@ -2017,7 +2021,7 @@ if ($action == 'create')
{
print '
| ' . $langs->transcountry("AmountLT1", $mysoc->country_code) . ' | ';
print '' . price($object->total_localtax1, '', $langs, 0, - 1, - 1, $conf->currency) . ' | ';
- print ' |
';
+ print '';
}
if ($mysoc->localtax2_assuj == "1" || $object->total_localtax2 != 0) // Localtax2
{
diff --git a/htdocs/langs/en_US/projects.lang b/htdocs/langs/en_US/projects.lang
index 505f6bce8e5..c82d651a01d 100644
--- a/htdocs/langs/en_US/projects.lang
+++ b/htdocs/langs/en_US/projects.lang
@@ -180,6 +180,7 @@ YouCanCompleteRef=If you want to complete the ref with some information (to use
OpenedProjectsByThirdparties=Opened projects by thirdparties
OpportunityTotalAmount=Opportunities total amount
OpportunityPonderatedAmount=Opportunities weighted amount
+OpportunityPonderatedAmountDesc=Opportunities amount weighted with probability (depending on status of opportunity)
OppStatusPROSP=Prospection
OppStatusQUAL=Qualification
OppStatusPROPO=Proposal
diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php
index 4695403aeff..e983a16f3f9 100644
--- a/htdocs/theme/md/style.css.php
+++ b/htdocs/theme/md/style.css.php
@@ -572,8 +572,9 @@ td.showDragHandle {
}
#id-right { /* This must stay id-right and not be replaced with echo $right */
width: 100%;
+ padding-bottom: 10px;
- padding-left: 224px;
+ padding-left: 229px;
padding-top: 12px;
}
@@ -626,7 +627,7 @@ td.showDragHandle {
div.fiche {
margin-: global->MAIN_MENU_USE_JQUERY_LAYOUT))?($dol_hide_leftmenu?'4':'20'):'24')); ?>px;
- margin-: dol_optimize_smallscreen)?'12':'4')); ?>px;
+ margin-: dol_optimize_smallscreen)?'16':'4')); ?>px;
dol_hide_leftmenu) && ! empty($conf->dol_hide_topmenu)) print 'margin-top: 4px;'; ?>
margin-bottom: 15px;
}
@@ -837,14 +838,19 @@ li.tmenu, li.tmenusel {
font-weight: normal;
}
li.tmenusel, li.tmenu:hover {
+/*
background-image: -o-linear-gradient(bottom, rgba(250,250,250,0.3) 0%, rgba(0,0,0,0.3) 100%) !important;
background-image: -moz-linear-gradient(bottom, rgba(0,0,0,0.5) 0%, rgba(250,250,250,0) 100%) !important;
background-image: -webkit-linear-gradient(bottom, rgba(0,0,0,0.3) 0%, rgba(250,250,250,0) 100%) !important;
background-image: -ms-linear-gradient(bottom, rgba(250,250,250,0.3) 0%, rgba(0,0,0,0.3) 100%) !important;
background-image: linear-gradient(bottom, rgba(250,250,250,0.3) 0%, rgba(0,0,0,0.3) 100%) !important;
background: rgb();
+*/
/* background: url() 50% 0 repeat-x !important; Nicer but problem when menu wrap on 2 lines */
}
+li.tmenusel, li.tmenu:hover {
+ opacity: .50; /* show only a slight shadow */
+}
.tmenuend .tmenuleft { width: 0px; }
/* .tmenuend { display: none; } */
div.tmenuleft
@@ -2256,7 +2262,6 @@ div.liste_titre_bydiv {
border-collapse: collapse;
display: table;
padding: 2px 0px 2px 0;
- box-shadow: 2px 2px 4px #CCC;
width: calc(100% - 1px); /* 1px more, i don't know why */
}
tr.liste_titre, tr.liste_titre_sel, form.liste_titre, form.liste_titre_sel, table.dataTable.tr
@@ -2723,10 +2728,10 @@ img.datecallink { padding-left: 2px !important; padding-right: 2px !important; }
table.dp {
width: 180px;
background-color: #FFFFFF;
- border-top: solid 2px #f4f4f4;
+ /*border-top: solid 2px #f4f4f4;
border-: solid 2px #f4f4f4;
border-: solid 1px #222222;
- border-bottom: solid 1px #222222;
+ border-bottom: solid 1px #222222; */
padding: 0px;
border-spacing: 0px;
border-collapse: collapse;
@@ -2735,7 +2740,7 @@ table.dp {
/* Barre titre */
.dpHead,.tpHead,.tpHour td:Hover .tpHead{
font-weight:bold;
- background-color:#b3c5cc;
+ background-color: #888;
color:white;
font-size:11px;
cursor:auto;
@@ -2743,7 +2748,7 @@ table.dp {
/* Barre navigation */
.dpButtons,.tpButtons {
text-align:center;
- background-color:#617389;
+ background-color: #888;
color:#FFFFFF;
font-weight:bold;
cursor:pointer;
@@ -2778,7 +2783,7 @@ table.dp {
padding:0px;
font-size:9px;
border-width:0px;
- color:#0B63A2;
+ color: #eee;
vertical-align:middle;
cursor: pointer;
}