PHP issue: Displaying sub totals/texts below only the last items of their groups in Drupal

MQL5 Scripts Integration

Specification

A short PHP code snippet has to be fixed within the shortest possible time. 

This code snippet runs inside Drupal (7) views (global php field) that generates a PDF page and it helps to display sub totals. Our goal is to display that sub totals below only the last price offer items of the relevant process. Sub totals are already calculated correctly. Only their row location has a problem. 

It "seems" that we need to update a previous variable outside the loop with the current variable within a PHP loop. Looping is not mandatory, so any other solution, that's not away from Drupal field logic will also be greatly welcomed! 

Once the code is fixed, you'll apply the same solution to the other similiar three global php fields that will display texts again only below the last price offer items of their processes, and process titles to be displayed above only the first price offer items of their processes. 

No direct Drupal administrator web access, but Team Viewer access is available. 

Please see the attachment for details. 

Responded

1
Developer 1
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Similar orders
Hello how are you doing? Can you help me with a projects connecting trend lines to pivot points on a wave, for trendlines, color detention, and dynamic visualization? I have a project I’d like you to look at. I need a pine script code to capture the different Trendline colors that cross both above and below horizontal lines on the wave indicator
Hello I'm in possesion of a straightforward MT% Expert AdvisorThat I want to convert into DXTrade. Are you able to do this conversion? Kindly let me know if the fil atached will be enough
I need a trading panel to trade share market scripts like Stocks, options, futures, etc There should be an option to add API from my broker to the panel so panel can fetch script details and then I can trade directly through panel Please find the attached image for details
I would like a Forex trading robot for MT5. The market entry signal is based on a TradingView Indicator (I will provide the name of which one), and the robot should execute Buy or Sell trades based on the Buy/Sell alerts that this indicator provides. The TradingView Pine Script is open source, so it will be available for you to see. Closing of positions is done by the SL, TP. The lot size is calculated as a
Hello, I am seeking someone who can translate my TradingView Pine Script strategy into cAlgo code language. This is to enable us to automatically execute our trades via Ctrader, eliminating intermediary steps such as copiers and MT5. Would you be able to assist us with this? Looking forward to your response
Moath jamal 30+ USD
//+------------------------------------------------------------------+ //| Script program start function | //+------------------------------------------------------------------+ int OnInit() { return(INIT_SUCCEEDED); } //+------------------------------------------------------------------+ //| Script deinit function |
Hello, can you help me convert MT4 EA source code to MT5? I have two versions of an EA for MT4 that I have been using for quite a while and I want to move over to MT5. There are no additional indicators. Everything is inside the EA mq4. Also, could you provide a strategy guide in PDF format for me of both strategies, apply if you are professional enough in the field
HI I HAVE A SENTIMENT DATA LIBRARY THAT I PURCHASED FROM SENTI FX FOR RETAIL SENTIMENT. WHAT IM LOOKING TO DO IS MAKE A BASIC INDICATOR IT HAS RETAIL POSTIONS LONG SHORT PERCENTAGE AND A RELATIVE SENTIMENT DATA. THAT WILL ALERT ME TO MY EMAIL
I am looking for a coder to code my custom Ninjatrader 8 strategy to make it work perfectly your professioalism is needed in the project Kindly cotact me now and let Proceed
Hello I am looking for a professional in building a stock trading robot and make it work perfectly Specifically, I want to build a robot for trading in options from the IOF your expertise is highly needed in this project Kindly reach out and let proceed

Project information

Budget
15 - 60 USD
For the developer
13.5 - 54 USD
Deadline
to 1 day(s)