This commit is contained in:
Laurent Destailleur 2022-09-06 12:43:07 +02:00
parent c3afd7ab4f
commit e40d925a57
3 changed files with 17 additions and 1 deletions

View File

@ -863,7 +863,7 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard'
print '<input type="hidden" name="token" value="'.newToken().'">';
print '<input type="hidden" name="socid" value="'.$object->id.'">';
print img_picto($langs->trans("CreateCustomerOnStripe"), 'stripe');
print '<input type="submit" class="buttonreset nomargintop nomarginbottom noborderbottom nopaddingtopimp nopaddingbottomimp" name="syncstripecustomer" value="'.$langs->trans("CreateCustomerOnStripe").'">';
print '<input type="submit" class="buttonlink nomargintop nomarginbottom noborderbottom nopaddingtopimp nopaddingbottomimp" name="syncstripecustomer" value="'.$langs->trans("CreateCustomerOnStripe").'">';
print '</form>';
}
print '</td></tr>';

View File

@ -3545,6 +3545,14 @@ input.button[name="upload"] {
input.button.smallpaddingimp, input.buttonreset.smallpaddingimp {
font-size: 0.8em;
}
input.buttonlink {
color: var(--colortextlink);
background-color: transparent;
cursor: pointer;
}
input.buttonlink:hover {
text-decoration: underline;
}
input.buttonreset {
margin-top: 3px;
margin-bottom: 3px;

View File

@ -3511,6 +3511,14 @@ tr.nocellnopadd td.nobordernopadding, tr.nocellnopadd td.nocellnopadd
.smallpaddingimp {
padding: 4px !important;
}
input.buttonlink {
color: var(--colortextlink);
background-color: transparent;
cursor: pointer;
}
input.buttonlink:hover {
text-decoration: underline;
}
input.buttonreset {
margin-top: 3px;
margin-bottom: 3px;