@extends('templates.structure') @section('custom_css') @endsection @section('content') @php $status = ['In-Active', 'Active']; $badge = ['danger', 'info']; @endphp

Client Details

      
      
      

Company Details

Product Name Currency Price Location Status Action
Invoice Number Client ID Company Name Location Name Due Date Date Generated Status Created By Created At Action
@endsection @section('custom_js') @endsection @section('addCustomInfo') if(currentRoute == 'plan.show'){ if("invoice_number" in data){ if(v.name == 'amount_due' || v.name == 'amount_paid'){ valuename = new Intl.NumberFormat('en-US').format(valuename); } if(v.name == 'status'){ if(data.status == 0){ let statusNow = data.status; let activeStatus = ''; valuename = ''; for( let keystatus in statusArrInvoice) { if (keystatus == statusNow) { activeStatus = 'check text-success"'; } else { activeStatus = 'circle" onclick="setStatusInvoice('+keystatus+', '+data.id+')"'; } valuename += '
   '+statusArrInvoice[keystatus]+'\
'; } } else { valuename = statusArrInvoice[data.status]; } } if(v.name == 'discount_price'){ valuename = new Intl.NumberFormat('en-US').format(valuename); if(data.discount_type == 'percentage'){ valuename += ' %'; } } if(v.name == 'vat'){ valuename = new Intl.NumberFormat('en-US').format(valuename); valuename += ' %'; } if (v.name == 'show_period'){ if(valuename == '1') { valuename = ''; } if(valuename == '0') { valuename = ''; } } if (v.name == 'wht'){ if(valuename == '0') { valuename = ''; } else { valuename = new Intl.NumberFormat('en-US').format(valuename); valuename += ' %'; } } if (v.name == 'payment_proof'){ if(valuename != null){ valuename = 'your image   ' } } }else{ if(v.name == 'status') { let statusNow = data.status; let activeStatus = ''; valuename = ''; for( let keystatus in statusArr) { if (keystatus == statusNow) { activeStatus = 'check text-success"'; } else { activeStatus = 'circle" onclick="setStatus('+keystatus+', '+data.id+')"'; } valuename += '
   '+statusArr[keystatus]+'\
'; } } if(v.name == 'discount_price'){ if(data.discount_type == 'percentage'){ valuename = valuename +' %'; } } } } @endsection @section('moreinfoJsLg') if(currentRoute == 'plan.show'){ if("invoice_number" in data) { result += 'Items\ \ \ \ \ \ '; result += '
ProductPriceQty
'; result += '\ Follow Up Logs\ Show Follow Up\ '; } else { result += ''+ 'More'+ '\
\  \
\ '+ ''; } } @endsection @section('addCustomInfoXhr') @endsection