Completed
Branch develop (8b518d)
by
unknown
16:51
created
htdocs/bom/tpl/objectline_create.tpl.php 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -84,20 +84,20 @@  discard block
 block discarded – undo
84 84
 			print $langs->trans('Unit');
85 85
 			print '</span></td>';
86 86
 		}
87
-		print '<td class="linecolqtyfrozen right">' . $form->textwithpicto($langs->trans('QtyFrozen'), $langs->trans("QuantityConsumedInvariable")) . '</td>';
88
-		print '<td class="linecoldisablestockchange right">' . $form->textwithpicto($langs->trans('DisableStockChange'), $langs->trans('DisableStockChangeHelp')) . '</td>';
89
-		print '<td class="linecollost right">' . $form->textwithpicto($langs->trans('ManufacturingEfficiency'), $langs->trans('ValueOfMeansLoss')) . '</td>';
87
+		print '<td class="linecolqtyfrozen right">'.$form->textwithpicto($langs->trans('QtyFrozen'), $langs->trans("QuantityConsumedInvariable")).'</td>';
88
+		print '<td class="linecoldisablestockchange right">'.$form->textwithpicto($langs->trans('DisableStockChange'), $langs->trans('DisableStockChangeHelp')).'</td>';
89
+		print '<td class="linecollost right">'.$form->textwithpicto($langs->trans('ManufacturingEfficiency'), $langs->trans('ValueOfMeansLoss')).'</td>';
90 90
 	} else {
91
-		print '<td class="linecolunit right">' . $form->textwithpicto($langs->trans('Unit'), '').'</td>';
92
-		print '<td class="linecolqtyfrozen right">' .$form->textwithpicto($langs->trans('QtyFrozen'), $langs->trans("QuantityConsumedInvariable")) . '</td>';
91
+		print '<td class="linecolunit right">'.$form->textwithpicto($langs->trans('Unit'), '').'</td>';
92
+		print '<td class="linecolqtyfrozen right">'.$form->textwithpicto($langs->trans('QtyFrozen'), $langs->trans("QuantityConsumedInvariable")).'</td>';
93 93
 
94 94
 		if (isModEnabled('workstation')) {
95
-			print '<td class="linecolworkstation right">' .  $form->textwithpicto($langs->trans('Workstation'), '') . '</td>';
95
+			print '<td class="linecolworkstation right">'.$form->textwithpicto($langs->trans('Workstation'), '').'</td>';
96 96
 		}
97
-		print '<td class="linecoltotalcost right">' .  $form->textwithpicto($langs->trans('TotalCost'), '') . '</td>';
97
+		print '<td class="linecoltotalcost right">'.$form->textwithpicto($langs->trans('TotalCost'), '').'</td>';
98 98
 	}
99 99
 
100
-	print '<td class="linecoledit" colspan="' . $colspan . '">&nbsp;</td>';
100
+	print '<td class="linecoledit" colspan="'.$colspan.'">&nbsp;</td>';
101 101
 	print '</tr>';
102 102
 }
103 103
 print '<tr class="pair nodrag nodrop nohoverpair'.(($nolinesbefore || $object->element == 'contrat') ? '' : ' liste_titre_create').'">';
@@ -162,17 +162,17 @@  discard block
 block discarded – undo
162 162
 	}
163 163
 
164 164
 	$coldisplay++;
165
-	print '<td class="bordertop nobottom linecolqtyfrozen right"><input type="checkbox" name="qty_frozen" id="qty_frozen" class="flat right" value="1"' . (GETPOST("qty_frozen", 'alpha') ? ' checked="checked"' : '') . '>';
165
+	print '<td class="bordertop nobottom linecolqtyfrozen right"><input type="checkbox" name="qty_frozen" id="qty_frozen" class="flat right" value="1"'.(GETPOST("qty_frozen", 'alpha') ? ' checked="checked"' : '').'>';
166 166
 	print '</td>';
167 167
 
168 168
 
169 169
 	$coldisplay++;
170
-	print '<td class="bordertop nobottom linecoldisablestockchange right"><input type="checkbox" name="disable_stock_change" id="disable_stock_change" class="flat right" value="1"' . (GETPOST("disable_stock_change", 'alpha') ? ' checked="checked"' : '') . '">';
170
+	print '<td class="bordertop nobottom linecoldisablestockchange right"><input type="checkbox" name="disable_stock_change" id="disable_stock_change" class="flat right" value="1"'.(GETPOST("disable_stock_change", 'alpha') ? ' checked="checked"' : '').'">';
171 171
 	print '</td>';
172 172
 
173 173
 	$coldisplay++;
174 174
 	print '<td class="bordertop nobottom nowrap linecollost right">';
175
-	print '<input type="text" size="2" name="efficiency" id="efficiency" class="flat right" value="' . ((GETPOSTISSET("efficiency") && $action == 'addline') ? GETPOST("efficiency", 'alpha') : 1) . '">';
175
+	print '<input type="text" size="2" name="efficiency" id="efficiency" class="flat right" value="'.((GETPOSTISSET("efficiency") && $action == 'addline') ? GETPOST("efficiency", 'alpha') : 1).'">';
176 176
 	print '</td>';
177 177
 
178 178
 	$coldisplay++;
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
 	print '</td>';
190 190
 
191 191
 	$coldisplay++;
192
-	print '<td class="bordertop nobottom linecolqtyfrozen right"><input type="checkbox" name="qty_frozen" id="qty_frozen" class="flat right" value="1"' . (GETPOST("qty_frozen", 'alpha') ? ' checked="checked"' : '') . '>';
192
+	print '<td class="bordertop nobottom linecolqtyfrozen right"><input type="checkbox" name="qty_frozen" id="qty_frozen" class="flat right" value="1"'.(GETPOST("qty_frozen", 'alpha') ? ' checked="checked"' : '').'>';
193 193
 	print '</td>';
194 194
 
195 195
 	$coldisplay++;
@@ -204,8 +204,8 @@  discard block
 block discarded – undo
204 204
 }
205 205
 
206 206
 $coldisplay += $colspan;
207
-print '<td class="bordertop nobottom linecoledit right valignmiddle" colspan="' . $colspan . '">';
208
-print '<input type="submit" class="button button-add small" name="addline" id="addline" value="' . $langs->trans('Add') . '">';
207
+print '<td class="bordertop nobottom linecoledit right valignmiddle" colspan="'.$colspan.'">';
208
+print '<input type="submit" class="button button-add small" name="addline" id="addline" value="'.$langs->trans('Add').'">';
209 209
 print '</td>';
210 210
 print '</tr>';
211 211
 
Please login to merge, or discard this patch.