Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
a88bafe1
Commit
a88bafe1
authored
7 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Fix responsive
parent
fc5dfcda
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
htdocs/cashdesk/css/style.css
+0
-1
0 additions, 1 deletion
htdocs/cashdesk/css/style.css
htdocs/cashdesk/tpl/facturation1.tpl.php
+22
-19
22 additions, 19 deletions
htdocs/cashdesk/tpl/facturation1.tpl.php
with
22 additions
and
20 deletions
htdocs/cashdesk/css/style.css
+
0
−
1
View file @
a88bafe1
...
...
@@ -267,7 +267,6 @@ p.titre {
/* --------------------- Combo lists ------------------- */
.select_design
{
width
:
370px
;
overflow
:
auto
;
}
...
...
This diff is collapsed.
Click to expand it.
htdocs/cashdesk/tpl/facturation1.tpl.php
+
22
−
19
View file @
a88bafe1
...
...
@@ -38,7 +38,7 @@ $langs->load("cashdesk");
<input
type=
"hidden"
name=
"hdnSource"
value=
"NULL"
/>
<table>
<table
class=
"center"
>
<tr><th
class=
"label1"
>
<?php
echo
$langs
->
trans
(
"FilterRefOrLabelOrBC"
);
?>
</th><th
class=
"label1"
>
<?php
echo
$langs
->
trans
(
"Designation"
);
?>
</th></tr>
<tr>
<!-- Affichage de la reference et de la designation -->
...
...
@@ -89,42 +89,32 @@ $langs->load("cashdesk");
</select>
</td>
</tr>
<tr><td><div
id=
"resultats_dhtml"
></div></td></tr>
</table>
</form>
<form
id=
"frmQte"
class=
"formulaire1"
method=
"post"
action=
"facturation_verif.php?action=ajout_article"
onsubmit =
"javascript: return verifSaisie();"
>
<input
type=
"hidden"
name=
"token"
value=
"
<?php
echo
$_SESSION
[
'newtoken'
];
?>
"
/>
<table>
<tr>
<th>
<?php
echo
$langs
->
trans
(
"Qty"
);
?>
</th>
<th>
<?php
echo
$langs
->
trans
(
"
Stock
"
);
?>
</th>
<table
class=
"center"
>
<tr>
<th>
<?php
echo
$langs
->
trans
(
"
Qty
"
);
?>
</th>
<th>
<?php
echo
$langs
->
trans
(
"PriceUHT"
);
?>
</th>
<th></th>
<th>
<?php
echo
$langs
->
trans
(
"Discount"
);
?>
(%)
</th>
<th>
<?php
echo
$langs
->
trans
(
"TotalHT"
);
?>
</th>
<th>
</th>
<th>
<?php
echo
$langs
->
trans
(
"VATRate"
);
?>
</th>
<th></th>
</tr>
<tr>
<td><input
class=
"texte1 maxwidth50onsmartphone"
type=
"text"
id=
"txtQte"
name=
"txtQte"
value=
"1"
onkeyup=
"javascript: modif();"
onfocus=
"javascript: this.select();"
/>
<?php
print
genkeypad
(
"txtQte"
,
"frmQte"
);
?>
</td>
<!-- Affichage du stock pour l'article courant -->
<td>
<input
class=
"texte1_off maxwidth50onsmartphone"
type=
"text"
name=
"txtStock"
value=
"
<?php
echo
$obj_facturation
->
stock
()
?>
"
disabled
/>
</td>
<!-- Show unit price -->
<?php
// TODO Remove the disabled and use this value when adding product into cart ?>
<
td
><
input
class
=
"texte1_off maxwidth50onsmartphone"
type
=
"text"
name
=
"txtPrixUnit"
value
=
"<?php echo price2num(
$obj_facturation->prix
(), 'MU'); ?>"
onchange
=
"javascript: modif();"
disabled
/></
td
>
<
td
></
td
>
<!--
Choix
de
la
remise
-->
<
td
><
input
class
=
"texte1 maxwidth50onsmartphone"
type
=
"text"
id
=
"txtRemise"
name
=
"txtRemise"
value
=
"0"
onkeyup
=
"javascript: modif();"
onfocus
=
"javascript: this.select();"
/>
<?
php
print
genkeypad
(
"txtRemise"
,
"frmQte"
);
?>
</td>
<!-- Affichage du total HT -->
<td><input
class=
"texte1_off maxwidth50onsmartphone"
type=
"text"
name=
"txtTotal"
value=
""
disabled
/></td><td></td>
<!-- Choix du taux de TVA -->
<td
class=
"select_tva"
>
<td
class=
"select_tva
center
"
>
<?php
$vatrate
=
$obj_facturation
->
vatrate
;
// To get vat rate we just have selected
...
...
@@ -133,7 +123,20 @@ $langs->load("cashdesk");
echo
$form
->
load_tva
(
'selTva'
,
(
isset
(
$_POST
[
"selTva"
])
?
GETPOST
(
"selTva"
,
'alpha'
,
2
)
:
$vatrate
),
$mysoc
,
$buyer
,
0
,
0
,
''
,
false
,
-
1
);
?>
</td>
<td></td>
</tr>
<tr>
<!-- Affichage du stock pour l'article courant -->
<tr>
<td>
<?php
echo
$langs
->
trans
(
"Stock"
);
?>
</td>
<td>
<input
class=
"texte1_off maxwidth50onsmartphone"
type=
"text"
name=
"txtStock"
value=
"
<?php
echo
$obj_facturation
->
stock
()
?>
"
disabled
/>
</td>
<td>
<?php
echo
$langs
->
trans
(
"TotalHT"
);
?>
</td>
<!-- Affichage du total HT -->
<td
colspan=
"2"
><input
class=
"texte1_off maxwidth50onsmartphone"
type=
"text"
name=
"txtTotal"
value=
""
disabled
/></td><td></td>
</tr>
</table>
<input
class=
"button bouton_ajout_article"
type=
"submit"
id=
"sbmtEnvoyer"
value=
"
<?php
echo
$langs
->
trans
(
"AddThisArticle"
);
?>
"
/>
...
...
@@ -149,13 +152,13 @@ $langs->load("cashdesk");
<tr><th
class=
"label1"
>
<?php
echo
$langs
->
trans
(
"TotalTicket"
);
?>
</th><th
class=
"label1"
>
<?php
echo
$langs
->
trans
(
"Received"
);
?>
</th><th
class=
"label1"
>
<?php
echo
$langs
->
trans
(
"Change"
);
?>
</th></tr>
<tr>
<!-- Affichage du montant du -->
<td><input
class=
"texte2_off maxwidthonsmartphone"
type=
"text"
name=
"txtDu"
value=
"
<?php
echo
price2num
(
$obj_facturation
->
prixTotalTtc
(),
'MT'
);
?>
"
disabled
/></td>
<td><input
class=
"texte2_off maxwidth
100
onsmartphone"
type=
"text"
name=
"txtDu"
value=
"
<?php
echo
price2num
(
$obj_facturation
->
prixTotalTtc
(),
'MT'
);
?>
"
disabled
/></td>
<!-- Choix du montant encaisse -->
<td><input
class=
"texte2 maxwidthonsmartphone"
type=
"text"
id=
"txtEncaisse"
name=
"txtEncaisse"
value=
""
onkeyup=
"javascript: verifDifference();"
onfocus=
"javascript: this.select();"
/>
<td><input
class=
"texte2 maxwidth
100
onsmartphone"
type=
"text"
id=
"txtEncaisse"
name=
"txtEncaisse"
value=
""
onkeyup=
"javascript: verifDifference();"
onfocus=
"javascript: this.select();"
/>
<?php
print
genkeypad
(
"txtEncaisse"
,
"frmDifference"
);
?>
</td>
<!-- Affichage du montant rendu -->
<td><input
class=
"texte2_off maxwidthonsmartphone"
type=
"text"
name=
"txtRendu"
value=
"0"
disabled
/></td>
<td><input
class=
"texte2_off maxwidth
100
onsmartphone"
type=
"text"
name=
"txtRendu"
value=
"0"
disabled
/></td>
</tr>
<tr>
</table>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment