function view_action_list() {

  console.log('app view_action_list ready')

  let js = JSON.parse(localStorage.getItem('f03_action'));

  let dt = js.data.byseq;

  //console.log(dt)

  var strHtml = `

<div class="container mt-20">

  <div class="searchbar-backdrop"></div>

  <div class="list list-strong-ios list-outline-ios list-dividers-ios simple-list searchbar-not-found">

    <ul>

      <li>Nothing found</li>

    </ul>

  </div>



  <p class="grid grid-cols-4 grid-gap grid-buttons-demo">

      <a href="#" class="btn btn-xs btn-primary" onClick="SortByDate('a2ct','l2ct','dsc')"><i class="icon f7-icons">sort_down</i></a>

      <a href="#" class="btn btn-xs btn-info" onClick="SortByDate('a2ct','l2ct','asc')"><i class="icon f7-icons">sort_up</i></a>

      <a href="#" class="btn btn-xs btn-primary" onClick="SortById('a2ct','l2ct','dsc')"><i class="icon f7-icons">sort_down</i></a>

      <a href="#" class="btn btn-xs btn-info" onClick="SortById('a2ct','l2ct','asc')"><i class="icon f7-icons">sort_up</i></a>

    </p>



  <div class="search-list_action_list searchbar-found list detailed-list list-dividers full-width">

    <ul id="a2ct">`;

    //list detailed-list list-dividers full-width

  for (let i in dt) {

    strHtml +=`

         <li class="l2ct" data-id="`+dt[i].id+`" data-amount="`+dt[i].amount+`" data-date="`+dt[i].action_at+`">

          <a href="/action_edit/`+dt[i].id+`" class="item-link item-content">

            <div class="item-media"><img src="`+dt[i].image+`" class="event-thumbnail" alt=""></div>

            <div class="item-inner">

              <div class="item-title">

                <div class="item-name">`;

    if(dt[i].st_trx==1) {

      strHtml +=`<i class="icon f7-icons text-color-green">checkmark_circle_fill</i> `;

    } else {

      strHtml +=``;

    }

    strHtml +=  dt[i].descr+`</div>

                <div class="item-footer">`+dt[i].invoice+`, `+dt[i].p3+`</div>

              </div>

              <div class="item-after">

              <div class="text-color-`+dt[i].col+`">`+dt[i].rp+`</div>

              </div>

            </div>

          </a>

        </li>`;

  }

   strHtml += `

    </ul>

  </div>

</div>`;  

  $$("#action_list_content").html(strHtml);  

}