Implementos para Minería y Canteras

Implementos para Minería y Canteras

En Finanzauto, ofrecemos una variedad de implementos para minería y canteras diseñados para mejorar la eficiencia y productividad de sus operaciones. Nuestra gama de productos incluye desde cajas de dúmperes y cucharones de palas cargadoras hasta martillos y kits de tecnología avanzada.

En Finanzauto, ofrecemos una variedad de implementos para minería y canteras diseñados para mejorar la eficiencia y productividad de sus operaciones. ... En Finanzauto, ofrecemos una variedad de implementos para minería y canteras diseñados para mejorar la eficiencia y productividad de sus operaciones. Nuestra gama de productos incluye desde cajas de dúmperes y cucharones de palas cargadoras hasta martillos y kits de tecnología avanzada. Mostrar MásMenos

Se ha producido un error al procesar la plantilla.
Java method "jdk.proxy77.$Proxy1387.getOneToManyObjectEntries(long, long, com.liferay.petra.sql.dsl.expression.Predicate, boolean, long, boolean, String, int, int, com.liferay.portal.kernel.search.Sort[])" takes 10 arguments, but 6 was given.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign images = objectEntryLocalServ...  [in template "14306307#14306335#12373263" at line 159, column 37]
----
1<#include  "${templatesPath}/10241186"> 
2<#assign objectDefinitionId = 14695654> 
3<#assign objectDefinitionService = serviceLocator.findService("com.liferay.object.service.ObjectDefinitionService")> 
4<#assign objectEntryLocalService = serviceLocator.findService("com.liferay.object.service.ObjectEntryLocalService")> 
5<#assign objectRelationshipService = serviceLocator.findService("com.liferay.object.service.ObjectRelationshipService")> 
6<#assign classNameLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.ClassNameLocalService")> 
7<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService")> 
8<#assign dlFileEntryLocalService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService")> 
9<#assign cpAttachmentFileEntryService = serviceLocator.findService("com.liferay.commerce.product.service.CPAttachmentFileEntryService")> 
10<#assign assetCategoryPropertyService = serviceLocator.findService("com.liferay.asset.category.property.service.AssetCategoryPropertyService")> 
11<#assign dlAppServiceUtil = serviceLocator.findService("com.liferay.document.library.kernel.service.DLAppService")/> 
12<#assign assetCategoryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService")> 
13<#assign friendlyURLEntryLocalService = serviceLocator.findService("com.liferay.friendly.url.service.FriendlyURLEntryLocalService")> 
14<#assign className = objectDefinitionService.getObjectDefinition(objectDefinitionId).getClassName() /> 
15<#assign classNameId = classNameLocalService.getClassNameId(className) /> 
16<#assign groupId = themeDisplay.getScopeGroupId()> 
17<#assign portalURL = themeDisplay.getPortalURL()> 
18<#assign assetCategoryClassName = "com.liferay.asset.kernel.model.AssetCategory" /> 
19<#assign assetCategoryClassNameId = classNameLocalService.getClassNameId(assetCategoryClassName) /> 
20<#assign companyId = themeDisplay.getCompanyId() /> 
21 
22<section class="grid-productos pt-40 pb-40 m-pt-20 m-pb-20"> 
23    <div class="cc"> 
24 
25        <div class="toggle-sys mb-30 tar df aic jce p-20 bg-white" id="metric-imperial-button"> 
26            <label class="font-12 mr-10"><@liferay_ui["message"] key="finanzauto.products.unidades.medida" /> : </label> 
27            <div class="dfc mt-0 mb-0"> 
28                <p onclick="toggleElements('metric')" id="metric" 
29                   class="cp mt-0 btn-master  bg-primary h-40 "><@liferay_ui["message"] key="finanzauto.products.metrico" /></p> 
30                <p onclick="toggleElements('imperial')" id="imperial" 
31                   class="cp mt-0 btn-master ml-10 h-40"><@liferay_ui["message"] key="finanzauto.products.imperial" /></p> 
32            </div> 
33            <#-- <button onclick="toggleElements()" id="toggleButton"  class="btn-master  bg-primary h-40 c-white">Imperial</button> --> 
34        </div> 
35<#assign articleId = .vars['reserved-article-id'].data /> 
36<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 
37<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 
38<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(scopeGroupId), articleId) /> 
39<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey) /> 
40<#assign categories =asset.getCategories() /> 
41 
42        <#if categories?has_content> 
43            <#list categories as curAssetCategory> 
44							<#attempt> 
45           			<#if curAssetCategory.getCompanyId() == themeDisplay.getCompanyId()> 
46                <#assign categoryId = curAssetCategory.getCategoryId() /> 
47                <#assign categoryProperties = assetCategoryPropertyService.getCategoryProperties(categoryId)/> 
48                ${curAssetCategory.setName("99")} 
49                <#list categoryProperties as categoryProperty> 
50                    <#assign key=categoryProperty["key"]/> 
51                    <#if (key == "SORT") > 
52                        ${curAssetCategory.setName(categoryProperty["value"])} 
53                    </#if> 
54                </#list> 
55								</#if> 
56							<#recover> 
57							</#recover> 
58            </#list> 
59 
60            <#assign categories = categories?sort_by("name")> 
61            <#list categories as curAssetCategory> 
62                <#assign categoryHreflist = friendlyURLEntryLocalService.getFriendlyURLEntries(groupId,assetCategoryClassNameId, curAssetCategory.categoryId)/> 
63                    
64								<#assign friendlyUrlEntry = friendlyURLEntryLocalService.fetchMainFriendlyURLEntry( 
65                assetCategoryClassNameId, 
66                curAssetCategory.categoryId 
67                )>                 
68                <#assign categorySlug = friendlyUrlEntry?has_content?then( 
69                 friendlyUrlEntry.getUrlTitle(languageId), 
70                 "" 
71                )>  
72								<#assign categoryHrefLocale = categorySlug/> 
73            <#-- ------------- Saber si mostramos el  "Ver todos" -------------  --> 
74                <#assign showChilds = true /> 
75                <#assign categoryId = curAssetCategory.getCategoryId() /> 
76                <#assign categoryProperties = assetCategoryPropertyService.getCategoryProperties(categoryId)/> 
77                <#list categoryProperties as categoryProperty> 
78                    <#assign key=categoryProperty["key"]/> 
79                    <#if (key == "DONT_SHOW_CHILDS") > 
80                        <#assign showChilds = false /> 
81                    </#if> 
82                </#list> 
83                <#assign categoryHref = "/${categoryHrefLocale?replace('/g/','/')}"/> 
84                <#assign categoryName = curAssetCategory.getTitle(locale) /> 
85                <#assign allObjectsValues =[] /> 
86 
87            <#-- ------------- Productos de la categoria -------------  --> 
88                <#assign hits = assetEntryLocalService.search(companyId,[groupId],0,className,"","","",categoryId+"","",0,true,0,99).getDocs()> 
89            <#-- ------------- Si no hay productos, mostramos los de sus hijos -------------  --> 
90                <#if (hits?size==0) > 
91                    <#assign  childCategories = assetCategoryLocalService.getSubcategoryIds(categoryId)/> 
92                    <#if (childCategories?size>0)> 
93                        <#assign hits = assetEntryLocalService.search(companyId,[groupId],0,className,"","","",childCategories?join(","),"",0,true,0,99).getDocs()> 
94                    </#if> 
95                </#if> 
96                <#if (hits?size>0) > 
97                    <div class="carousel-section mb-60 m-mb-40"> 
98                        <div class="subcategory mb-20"> 
99                            <#assign urlCategory =categoryHref?replace('/g/','/') /> 
100                            <#if showChilds> 
101                                <h2 class="font-20 c-neutral900 dfc"><a class="dfc ml-5 underline m-mc" 
102                                                                        href="${urlCategory}">${categoryName} 
103                                    </a> 
104                                    <p class="font-16  ml-5">(${hits?size})</p> 
105                                </h2> 
106                                <a href="${urlCategory}"><span 
107                                            class="underline bold"><@liferay_ui["message"] key="finanzauto.products.ver.todos" /></span> 
108                                    <i class="bi bi-arrow-right bold"></i></a> 
109                            <#else> 
110                                <h2 class="font-20 c-neutral900 dfc">${categoryName} <p class="font-16 ml-5"> 
111                                        (${hits?size})</p> 
112                                </h2> 
113                            </#if> 
114                        </div> 
115                        <ul class="df product-carousel product-carousel${curAssetCategory?index}"> 
116                            <#assign hideLoadCarousel = "" /> 
117                            <#list hits as hit> 
118                                <#assign objectId = hit.entryClassPK?number  /> 
119                            <#-- ------------- Valores del producto -------------  --> 
120                                <#assign values = objectEntryLocalService.getValues(objectId)  /> 
121                                <#assign values = values + {"objectId": objectId}> 
122                                <#assign allObjectsValues = allObjectsValues + [values]  /> 
123                            </#list> 
124                            <#assign allObjectsValues = allObjectsValues?sort_by("names")> 
125                            <#list allObjectsValues as values> 
126                                <#assign imageList = [] /> 
127                            <#-- ------------- Imagen del producto -------------  --> 
128															<#attempt> 
129																<#assign objectEntry = objectEntryLocalService.getObjectEntry(values.objectId)> 
130																<#if objectEntry.getCompanyId() == companyId> 
131																 
132                                <#assign attachmentFiles = cpAttachmentFileEntryService.getCPAttachmentFileEntries(classNameId, values.objectId, 0, 0, -1, -1)  /> 
133                                <#list attachmentFiles as attachmentFile> 
134                                    <#attempt> 
135																			<#assign image = dlFileEntryLocalService.getFileEntry(attachmentFile.getFileEntryId())/> 
136 
137																			<#-- Solo procesar archivos de la compañía actual --> 
138																			<#if image.companyId == companyId 
139																					&& (image.extension == "jpg" || image.extension == "jpeg" || image.extension == "png") 
140																					&& !image.fileName?contains("features") 
141																					&& !image.fileName?contains("no2dimage2davailable") 
142																					&& !image.fileName?contains("no-image-available")> 
143 
144																					<#assign imageList = imageList + [image] /> 
145																			</#if> 
146																	<#recover> 
147																			<#-- Ignorar errores por archivos de otras compañías --> 
148																	</#recover> 
149                                </#list> 
150															</#if> 
151														<#recover></#recover> 
152																 
153                            <#assign image = -1> 
154                                <#assign imageList = imageList?sort_by("fileName")> 
155                                <#if (imageList?size>0)> 
156                                    <#assign image = imageList[0]> 
157                                <#else><#-- Fotos personalizadas --> 
158                                    <#assign imagesRelationshipId = objectRelationshipService.getObjectRelationship(objectDefinitionId, "images").getObjectRelationshipId() > 
159                                    <#assign images=objectEntryLocalService.getOneToManyObjectEntries(groupId, imagesRelationshipId, values.objectId, true, -1, -1)> 
160                                    <#list images as image> 
161                                        <#assign fileId = image.getValues()["image"]> 
162                                        <#attempt> 
163                                            <#assign file = dlFileEntryLocalService.getFileEntry(fileId)> 
164                                            <#assign imageList = imageList + [file]> 
165                                            <#recover> 
166                                        </#attempt> 
167                                    </#list> 
168 
169                                    <#assign imageList = imageList?sort_by("fileName")> 
170                                    <#if (imageList?size>0)> 
171                                        <#assign image = imageList[0]> 
172                                    </#if> 
173                                </#if> 
174                            <#-- ------------- Valores del producto -------------  --> 
175                                <li class="${hideLoadCarousel}"> 
176 
177                                    <#if locale=="es_ES" && values.productUrlEs!="" > 
178                                       <a href="/productos/${values.productUrlEs}" class="w-card w-100 product h-100"> 
179                                    <#elseif values.productUrlEn!=""> 
180                                        <a href="/en/products/${values.productUrlEn}" 
181                                           class="w-card w-100 product h-100"> 
182                                    <#else> 
183                                       <a href="/productos/${values.productUrlEs}" class="w-card w-100 product h-100"> 
184                                    </#if> 
185 
186                                            <span class="image p-15"> 
187                                      <#if (image?? && (!image?is_number)) > 
188                                        <img class="ofc" loading="lazy" 
189                                             src="${portalURL}/o/adaptive-media/image/${image.getFileEntryId()}/Thumbnail-300x300/${image.fileName}"/> 
190                                    <#else> 
191                                        <img class="ofc" src="/o/finanzauto-theme/images/no-photo.jpg"/> 
192                                    </#if> 
193                                        </span> 
194                                            <span class="container"> 
195                                            <span class="c-title bb-gray2 pt-10 pb-20 mb-10 dfc sb"> 
196                                                <p class="underline bold font-15"> 
197                                                    ${getLanguage(values.names)} 
198                                                </p> 
199                                                <span class="card-chevron dfcc w-28 h-28 border-white br-50 circle-white"><i 
200                                                            class="bi bi-chevron-right bold"></i></span> 
201                                            </span> 
202 
203                                            <span> 
204                                                ${getLanguageSection(values.featuredSpecifications)} 
205                                            </span> 
206                                        </span> 
207 
208                                            <p style="display:none;" class="product-category">${categoryName}</p> 
209                                            <p style="display:none;" class="product-brand">${values.brand}</p> 
210                                            <p style="display:none;" class="product-id">${values.objectId}</p> 
211                                        </a> 
212                                    </a> 
213                                </li> 
214 
215                                <#if values?index == 3 > 
216                                    <#assign hideLoadCarousel>display:none</#assign> 
217                                </#if> 
218                            </#list> 
219                        </ul> 
220                    </div> 
221                </#if> 
222							 
223            </#list> 
224        </#if> 
225 
226    </div> 
227</section> 
228 
229 
230<style> 
231    .toggle-sys:not(:first-of-type) { 
232        display: none; 
233    } 
234 
235    .caterpillar #metric, .caterpillar #imperial { 
236        border: 1px solid #fc0; 
237    } 
238 
239    #metric, #imperial { 
240        margin-left: 0px; 
241        max-height: 30px; 
242        border: 1px solid #e4032e; 
243    } 
244 
245    #metric:not(.bg-primary) { 
246        font-weight: normal !important; 
247    } 
248 
249    #imperial:not(.bg-primary) { 
250        font-weight: normal !important; 
251    } 
252 
253    div.subcategory { 
254        display: flex; 
255        justify-content: space-between; 
256    } 
257 
258    div.featuredspecifications div { 
259        display: flex; 
260        justify-content: space-between; 
261    } 
262 
263    div.featuredspecifications div p.name { 
264        color: #333D48; 
265        font-size: 0.88rem; 
266        line-height: 1.13rem; 
267    } 
268 
269    div.featuredspecifications div p.value { 
270        font-weight: bold; 
271        margin-top: 0px; 
272        font-size: 1rem; 
273        line-height: 1.5rem; 
274        letter-spacing: 0.5px; 
275        text-align: right; 
276    } 
277 
278    ul.product-carousel:not(.tns-carousel) { 
279        display: grid; 
280        grid-template-columns: 1fr 1fr 1fr 1fr; 
281        gap: 15px; 
282    } 
283 
284    .product-carousel.tns-carousel > li { 
285        display: inline-block !important; 
286    } 
287 
288    .image-selector .tns-nav button { 
289        width: 10px; 
290        height: 10px; 
291        padding: 0px; 
292        margin: 0px; 
293    } 
294 
295 
296    .tns-outer { 
297        display: grid; 
298        grid-template: 
299        "a a" 
300        "b c"; 
301    } 
302 
303    .tns-controls { 
304        grid-area: c; 
305        display: flex; 
306        justify-content: flex-end; 
307        padding-right: 10px; 
308    } 
309 
310    .tns-nav { 
311        grid-area: b; 
312    } 
313 
314    .tns-ovh { 
315        grid-area: a; 
316    } 
317 
318    .tns-controls button { 
319        width: 32px; 
320        height: 32px; 
321        border-radius: 50%; 
322        border: 0px; 
323        background-color: #030712; 
324        color: #fff; 
325        overflow: hidden; 
326        white-space: nowrap; 
327        text-indent: 100px; 
328        position: relative; 
329    } 
330 
331    .tns-controls button + button { 
332        margin-left: 10px; 
333    } 
334 
335    .tns-controls button + button::after { 
336        content: "\F285"; 
337        font-size: 14px; 
338        color: #fff; 
339        text-indent: 0px; 
340        left: 10px; 
341        top: 9px; 
342        position: absolute; 
343        z-index: 1; 
344        font-family: 'bootstrap-icons'; 
345        font-weight: bold; 
346    } 
347 
348    .tns-controls button:first-child::after { 
349        content: "\F284"; 
350        font-size: 14px; 
351        color: #fff; 
352        text-indent: 0px; 
353        left: 9px; 
354        top: 9px; 
355        position: absolute; 
356        z-index: 1; 
357        font-family: 'bootstrap-icons'; 
358        font-weight: bold; 
359    } 
360 
361    .tns-controls button[disabled] { 
362        background-color: #d4d6d8; 
363        color: #404953; 
364    } 
365 
366    .tns-controls button[disabled]::after { 
367        color: #404953; 
368    } 
369 
370    .tns-nav button { 
371        width: 50px; 
372        margin-right: 20px; 
373        border-radius: 6px; 
374        border: 0px; 
375        background-color: #bfc2c6; 
376        height: 4px; 
377    } 
378 
379    .tns-nav button.tns-nav-active { 
380        background-color: #030712; 
381    } 
382 
383    .tns-item { 
384        opacity: 0; 
385        transition: all 0.25s linear; 
386    } 
387 
388    .tns-item.tns-slide-active { 
389        opacity: 1; 
390    } 
391 
392    .tns-controls { 
393        margin-top: 20px; 
394    } 
395 
396    .tns-nav { 
397        margin-top: 20px; 
398    } 
399 
400    ul.product-carousel:not(.tns-carousel) li { 
401        max-width: 300.75px; 
402    } 
403 
404    .w-card span.image { 
405        height: auto !important; 
406        max-height: 230px; 
407    } 
408 
409    span.c-info > .grid-2 { 
410        grid-template-columns: 60% 1fr; 
411    } 
412 
413    @media (max-width: 769px) { 
414        .tns-nav { 
415            display: none; 
416        } 
417 
418        .w-card span.image { 
419            max-height: inherit; 
420        } 
421 
422        .m-mc { 
423 
424            width: min-content; 
425        } 
426    } 
427 
428 
429</style> 
430<script> 
431 
432    $(document).ready(function () { 
433 
434 
435        <#if categories?has_content> 
436        <#list categories as curAssetCategory> 
437        var slider = tns({ 
438            container: '.product-carousel${curAssetCategory?index}', 
439            items: 4, 
440            gutter: 15, 
441            slideBy: 'page', 
442            autoplay: false, 
443            loop: false, 
444            responsive: { 
445                1150: { 
446                    items: 4 
447                }, 
448                769: { 
449                    items: 3 
450                }, 
451                550: { 
452                    items: 2 
453                }, 
454                0: { 
455                    items: 1 
456                } 
457            } 
458        }); 
459        </#list> 
460        </#if> 
461 
462    }); 
463</script> 

Por Qué Elegir Nuestros Implementos para Minería y Canteras

En Finanzauto entendemos la importancia de contar con herramientas y equipos fiables para las operaciones mineras y en canteras. Es por eso que nuestros implementos están fabricados con materiales de la más alta calidad para asegurar su durabilidad y resistencia en los entornos más difíciles. Nuestros productos están diseñados específicamente para maquinaria Caterpillar, garantizando un ajuste perfecto y un rendimiento superior. Además, incorporamos la última tecnología para optimizar la eficiencia y precisión en sus proyectos. Nos enorgullecemos de ofrecer soporte técnico integral y asistencia personalizada para asegurar que todos nuestros implementos funcionen de manera óptima, ayudándole a maximizar la productividad y minimizar el tiempo de inactividad.

Ventajas de nuestros Implementos para Minería y Canteras de Caterpillar