47 |
accessforbidden(); |
accessforbidden(); |
48 |
|
|
49 |
$langs->load('bills'); |
$langs->load('bills'); |
50 |
|
$langs->load('products'); |
51 |
|
$langs->load('main'); |
52 |
|
|
53 |
$sall=isset($_GET['sall'])?$_GET['sall']:$_POST['sall']; |
$sall=isset($_GET['sall'])?$_GET['sall']:$_POST['sall']; |
54 |
if (isset($_GET['msg'])) { $msg=urldecode($_GET['msg']); } |
if (isset($_GET['msg'])) { $msg=urldecode($_GET['msg']); } |
1493 |
if ($conf->service->enabled) |
if ($conf->service->enabled) |
1494 |
{ |
{ |
1495 |
print '<tr '.$bc[$var].'>'; |
print '<tr '.$bc[$var].'>'; |
1496 |
print '<td colspan="9">Si produit de type service à durée limitée: Du '; |
print '<td colspan="9">'.$langs->trans('ServiceLimitedDuration').' '.$langs->trans('From').' '; |
1497 |
print $html->select_date($objp->date_start,'date_start',0,0,$objp->date_start?0:1); |
print $html->select_date($objp->date_start,'date_start',0,0,$objp->date_start?0:1); |
1498 |
print ' au '; |
print ' '.$langs->trans('to').' '; |
1499 |
print $html->select_date($objp->date_end,'date_end',0,0,$objp->date_end?0:1); |
print $html->select_date($objp->date_end,'date_end',0,0,$objp->date_end?0:1); |
1500 |
print '</td>'; |
print '</td>'; |
1501 |
print '</tr>'; |
print '</tr>'; |
1551 |
if ($conf->service->enabled) |
if ($conf->service->enabled) |
1552 |
{ |
{ |
1553 |
print '<tr '.$bc[$var].'>'; |
print '<tr '.$bc[$var].'>'; |
1554 |
print '<td colspan="9">Si produit de type service à durée limitée: Du '; |
print '<td colspan="9">'.$langs->trans('ServiceLimitedDuration').' '.$langs->trans('From').' '; |
1555 |
print $html->select_date('','date_start',0,0,1); |
print $html->select_date('','date_start',0,0,1); |
1556 |
print ' au '; |
print ' '.$langs->trans('to').' '; |
1557 |
print $html->select_date('','date_end',0,0,1); |
print $html->select_date('','date_end',0,0,1); |
1558 |
print '</td>'; |
print '</td>'; |
1559 |
print '</tr>'; |
print '</tr>'; |
1581 |
if ($conf->service->enabled) |
if ($conf->service->enabled) |
1582 |
{ |
{ |
1583 |
print '<tr '.$bc[$var].'>'; |
print '<tr '.$bc[$var].'>'; |
1584 |
print '<td colspan="5">Si produit de type service à durée limitée: Du '; |
print '<td colspan="5">'.$langs->trans('ServiceLimitedDuration').' '.$langs->trans('From').' '; |
1585 |
print $html->select_date('','date_start',0,0,1); |
print $html->select_date('','date_start',0,0,1); |
1586 |
print ' au '; |
print ' '.$langs->trans('to').' '; |
1587 |
print $html->select_date('','date_end',0,0,1); |
print $html->select_date('','date_end',0,0,1); |
1588 |
print '</td>'; |
print '</td>'; |
1589 |
print '</tr>'; |
print '</tr>'; |