$trans_order_id = $row["trans_order_id"];
                            $trans_type = $row["trans_type"];
                            $trans_amount = $row["trans_amount"];
                            $trans_status = $row["trans_status"];
                            $trans_action = $row["trans_action"];  ?>
                                 
                                 </thead>
                                 <tbody class="tbody">
                                 <tr>
                                  <td><?php echo $trans_order_id; ?></td>
                                   <td><?php echo $trans_type; ?></td>


                                   <td>
                                    <?php
                                      if($trans_amount == "PENDING"){
                                        echo '<a class="btn btn-sm" style="border-radius: 10px; background-color:#f5e79e; color:#000; border-color:#f5e79e; padding:2px 2px;">pending</a>';
                                      }else{
                                        echo number_format($trans_amount, 2); 
                                      }
                                    ?>
                                      
                                   </td>

                                   <td>
                                     <?php
                                       if($trans_status == "PENDING"){

                                         echo '<a class="btn btn-sm" style="border-radius: 10px; background-color:#f5e79e; color:#000; border-color:#f5e79e; padding:2px 2px;">pending</a>';
                                       }elseif($trans_status == "SUCCESS"){
                                         echo '<a class="btn btn-sm btn-success" style="border-radius: 10px; background-color:green; color:#fff; padding:2px 2px;">complete</a>';
                                       }elseif($trans_status == "DECLINED"){
                                         echo '<a href="" class="btn btn-sm btn-danger" style="border-radius: 10px; background-color:; color:#fff; border-color:#f5e79e; padding:2px 2px;">declined</a>';
                                       }
                                     ?>
                                     
                                   </td>




                                   <td>
                                     <?php
                                      if($trans_action == "T"){
                                       echo '<a href="" class="btn btn-sm" style="border-radius: 0px; background-color:#ffb900; color:#000; padding:1px 6px;">CHAT</a>';
                                      }else{
                                       echo '<a href="" class="btn btn-sm disabled" style="border-radius: 0px; background-color:#ffb900; color:#000; padding:1px 6px;">CHAT</a>';
                                      }
                                     ?>
                                     
                                   </td>
                                 </tr>
                               </tbody>
                             </table>
                           </div>



                        <?php  }