| ';
//print $langs->trans('StripeCustomerId');
- print $form->editfieldkey("StripeCustomerId", 'key_account', $stripecu, $object, $permissiontowrite, 'string', '', 0, 1, 'socid');
+ print $form->editfieldkey("StripeCustomerId", 'key_account', $stripecu, $object, $permissiontowrite, 'string', '', 0, 2, 'socid');
print ' | ';
//print $stripecu;
- print $form->editfieldval("StripeCustomerId", 'key_account', $stripecu, $object, $permissiontowrite, 'string', '', null, null, '', 1, '', 'socid');
+ print $form->editfieldval("StripeCustomerId", 'key_account', $stripecu, $object, $permissiontowrite, 'string', '', null, null, '', 2, '', 'socid');
print ' | ';
if (empty($stripecu))
{
@@ -734,7 +734,7 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard'
{
$morehtmlright='id.'&action=createcard">'.$langs->trans("Add").'';
}
- print load_fiche_titre($langs->trans('StripePaymentModes').($stripeacc?' (Stripe connection with Stripe Connect account '.$stripeacc.')':' (Stripe connection with default API credentials)'), $morehtmlright, '');
+ print load_fiche_titre($langs->trans('StripePaymentModes').($stripeacc?' (Stripe connection with Stripe OAuth Connect account '.$stripeacc.')':' (Stripe connection with keys from Stripe module setup)'), $morehtmlright, '');
$listofsources = array();
if (is_object($stripe))
@@ -835,7 +835,7 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard'
if (empty($companypaymentmodetemp->stripe_card_ref)) print $langs->trans("Local");
else print $langs->trans("LocalAndRemote");
print ' | ';
- print '';
+ print ' | ';
if ($user->rights->societe->creer)
{
print '';
@@ -843,7 +843,7 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard'
print '';
print ' ';
print '';
- print img_delete($langs->trans("Delete"));
+ print img_picto($langs->trans("Delete"), 'delete');
print '';
}
print ' | ';
@@ -942,11 +942,11 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard'
print '';
print $langs->trans("Remote");
print ' | ';
- print '';
+ print ' | ';
if ($user->rights->societe->creer)
{
print '';
- print img_delete($langs->trans("Delete"));
+ print img_picto($langs->trans("Delete"), 'delete');
print '';
}
print ' | ';
@@ -1130,7 +1130,7 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard'
print '';
// Edit/Delete
- print '';
+ print ' | ';
if ($user->rights->societe->creer)
{
print 'id.'&id='.$rib->id.'&action=edit">';
diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php
index cba140486db..6293802540e 100644
--- a/htdocs/theme/eldy/style.css.php
+++ b/htdocs/theme/eldy/style.css.php
@@ -801,6 +801,9 @@ select.flat.selectlimit {
.fa-file-text-o, .fa-file-code-o, .fa-file-powerpoint-o, .fa-file-excel-o, .fa-file-word-o, .fa-file-o, .fa-file-image-o, .fa-file-video-o, .fa-file-audio-o, .fa-file-archive-o, .fa-file-pdf-o {
color: #055;
}
+.fa-trash, .fa-crop, .fa-pencil {
+ font-size: 1.4em;
+}
/* DOL_XXX for future usage (when left menu has been removed). If we do not use datatable */
/*.table-responsive {
@@ -1325,11 +1328,11 @@ div.nopadding {
.pictowarning, .pictopreview {
padding-: 3px;
}
-.pictoedit, .pictowarning, .pictodelete {
+.pictowarning {
vertical-align: text-bottom;
}
-.fiche img.pictoedit {
- opacity: 0.7;
+.fiche img.pictoedit, .fiche span.pictoedit {
+ opacity: 0.4;
}
.colorthumb {
padding-left: 1px !important;
diff --git a/htdocs/theme/md/img/menus/ticketsup.png b/htdocs/theme/md/img/menus/ticketsup.png
new file mode 100644
index 00000000000..98beeaf593a
Binary files /dev/null and b/htdocs/theme/md/img/menus/ticketsup.png differ
diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php
index 9f774fe3af7..c088e0d4acd 100644
--- a/htdocs/theme/md/style.css.php
+++ b/htdocs/theme/md/style.css.php
@@ -801,6 +801,9 @@ select.flat.selectlimit {
.fa-file-text-o, .fa-file-code-o, .fa-file-powerpoint-o, .fa-file-excel-o, .fa-file-word-o, .fa-file-o, .fa-file-image-o, .fa-file-video-o, .fa-file-audio-o, .fa-file-archive-o, .fa-file-pdf-o {
color: #505;
}
+.fa-trash, .fa-crop, .fa-pencil {
+ font-size: 1.4em;
+}
/* DOL_XXX for future usage (when left menu has been removed). If we do not use datatable */
/*.table-responsive {
@@ -1333,9 +1336,12 @@ table.noborder tr.liste_titre td {
.pictowarning, .pictopreview {
padding-: 3px;
}
-.pictoedit, .pictowarning, .pictodelete {
+.pictowarning {
vertical-align: text-bottom;
}
+.fiche img.pictoedit, .fiche span.pictoedit {
+ opacity: 0.9;
+}
img.hideonsmartphone.pictoactionview {
vertical-align: bottom;
}
@@ -1682,6 +1688,10 @@ div.mainmenu.project {
background-image: url();
}
+div.mainmenu.ticketsup {
+ background-image: url();
+}
+
div.mainmenu.tools {
background-image: url();
}
@@ -1696,7 +1706,7 @@ div.mainmenu.website {
$moduletomainmenu=array('user'=>'','syslog'=>'','societe'=>'companies','projet'=>'project','propale'=>'commercial','commande'=>'commercial',
'produit'=>'products','service'=>'products','stock'=>'products',
'don'=>'accountancy','tax'=>'accountancy','banque'=>'accountancy','facture'=>'accountancy','compta'=>'accountancy','accounting'=>'accountancy','adherent'=>'members','import'=>'tools','export'=>'tools','mailing'=>'tools',
- 'contrat'=>'commercial','ficheinter'=>'commercial','deplacement'=>'commercial',
+ 'contrat'=>'commercial','ficheinter'=>'commercial','ticketsup'=>'ticketsup','deplacement'=>'commercial',
'fournisseur'=>'companies',
'barcode'=>'','fckeditor'=>'','categorie'=>'',
);
@@ -1712,7 +1722,7 @@ $generic=1;
// Put here list of menu entries when the div.mainmenu.menuentry was previously defined
$divalreadydefined=array('home','companies','products','commercial','externalsite','accountancy','project','tools','members','agenda','ftp','holiday','hrm','bookmark','cashdesk','ecm','geoipmaxmind','gravatar','clicktodial','paypal','stripe','webservices','website');
// Put here list of menu entries we are sure we don't want
-$divnotrequired=array('multicurrency','salaries','margin','opensurvey','paybox','expensereport','incoterm','prelevement','propal','workflow','notification','supplier_proposal','cron','product','productbatch','expedition');
+$divnotrequired=array('multicurrency','salaries','ticketsup','margin','opensurvey','paybox','expensereport','incoterm','prelevement','propal','workflow','notification','supplier_proposal','cron','product','productbatch','expedition');
foreach($mainmenuusedarray as $val)
{
if (empty($val) || in_array($val,$divalreadydefined)) continue;
diff --git a/htdocs/ticketsup/class/ticketsup.class.php b/htdocs/ticketsup/class/ticketsup.class.php
index a7b95bedbbe..3795978289e 100644
--- a/htdocs/ticketsup/class/ticketsup.class.php
+++ b/htdocs/ticketsup/class/ticketsup.class.php
@@ -2612,7 +2612,7 @@ class Ticketsup extends CommonObject
}
if ($user->rights->produit->creer || $user->rights->service->creer) {
// Link to resize
- $return .= '' . img_picto($langs->trans("Resize"), DOL_URL_ROOT . '/theme/common/transform-crop-and-resize', '', 1) . ' ';
+ $return .= '' . img_picto($langs->trans("Resize"), 'resize', '') . ' ';
// Link to delete
$return .= 'id . '&action=delete&file=' . urlencode($pdir . $viewfilename) . '">';
@@ -2641,7 +2641,7 @@ class Ticketsup extends CommonObject
if ($showaction) {
if ($user->rights->produit->creer || $user->rights->service->creer) {
// Link to resize
- $return .= '' . img_picto($langs->trans("Resize"), DOL_URL_ROOT . '/theme/common/transform-crop-and-resize', '', 1) . ' ';
+ $return .= '' . img_picto($langs->trans("Resize"), 'resize', '') . ' ';
// Link to delete
$return .= 'id . '&action=delete&file=' . urlencode($pdir . $viewfilename) . '">';
|