当前位置: 首页>>代码示例>>PHP>>正文


PHP Schedule::getPartnerStatus方法代码示例

本文整理汇总了PHP中Schedule::getPartnerStatus方法的典型用法代码示例。如果您正苦于以下问题:PHP Schedule::getPartnerStatus方法的具体用法?PHP Schedule::getPartnerStatus怎么用?PHP Schedule::getPartnerStatus使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Schedule的用法示例。


在下文中一共展示了Schedule::getPartnerStatus方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: linkHeaders

 echo "<tr>";
 $linkHeaders = new linkHeaders($script_transl['header']);
 $linkHeaders->setAlign(array('right','right','right','center','center','center','center'));
 $linkHeaders -> output();
 echo "</tr>";
 foreach ($paymov->Partners as $p){
     $anagrafica = new Anagrafica();
     $prt = $anagrafica->getPartner($p);
     echo "<tr></tr>";
     echo "<tr class=\"FacetFieldCaptionTD\">";
     echo "<td colspan='5'>".$prt['ragso1']." ".$prt['ragso2'].
           " tel:".gaz_html_call_tel($prt['telefo']).
           " fax:".$prt['fax'].
           " mob:".gaz_html_call_tel($prt['cell'])."</td>";
     echo "</tr>\n";
     $paymov->getPartnerStatus($p,$form['date_ini_Y'].'-'.$form['date_ini_M'].'-'.$form['date_ini_D']);
     foreach ($paymov->PartnerStatus as $k=>$v){
        echo "<tr>";
        echo "<td class=\"FacetDataTDred\" colspan='2'>REF: $k</td>";
        echo "<td class=\"FacetDataTD\" colspan='5'><a class=\"btn btn-xs btn-default btn-edit\" href=\"../contab/admin_movcon.php?Update&id_tes=".$paymov->docData[$k]['id_tes']."\"><i class=\"glyphicon glyphicon-edit\"></i>".
             $paymov->docData[$k]['descri'].' n.'.
             $paymov->docData[$k]['numdoc'].'/'.
             $paymov->docData[$k]['seziva'].' '.
             $paymov->docData[$k]['datdoc']."</a></td>\n";
        echo "</tr>\n";
        foreach ($v as $ki=>$vi){
           $lnk='';
           $class_paymov='FacetDataTDevidenziaCL';
           $v_op='';
           $cl_exp='';
           if ($vi['op_val']>=0.01){
开发者ID:andreabia,项目名称:gazie,代码行数:31,代码来源:select_partner_status.php

示例2: Anagrafica

$pdf->setTopMargin(43);
$pdf->setRiporti('');
$pdf->AddPage();
$paymov = new Schedule;
$paymov->setScheduledPartner($admin_aziend['mascli']);
if (sizeof($paymov->Partners) > 0) {
      $anagrafica = new Anagrafica();
      foreach ($paymov->Partners as $p){
          $anagrafica = new Anagrafica();
          $prt = $anagrafica->getPartner($p);
          $pdf->SetFont('helvetica','B',10);
          $pdf->SetFillColor(200,255,200);
          $pdf->Ln(2);
          $pdf->Cell(186,5,$prt['ragso1']." ".$prt['ragso2']." tel:".$prt['telefo']." fax:".$prt['fax']." mob:".$prt['cell']." ",1,1,'',1,'',1);
          $pdf->SetFont('helvetica','',9);
          $paymov->getPartnerStatus($p,substr($_GET['date'],0,10));
          foreach ($paymov->PartnerStatus as $k=>$v){
             $pdf->SetTextColor(255,0,0);
             $pdf->SetFillColor(230,255,230);
             $pdf->Cell(56,5,"REF: ".$k,1,0,'',1,'',1);
             $pdf->SetTextColor(0);
             $pdf->Cell(130,5,
                        $paymov->docData[$k]['descri'].' n.'.
                        $paymov->docData[$k]['numdoc'].'/'.
                        $paymov->docData[$k]['seziva'].' '.
                        $paymov->docData[$k]['datdoc']
                        ,1,1);
             foreach ($v as $ki=>$vi){
                $pdf->SetFillColor(170,255,170);
                $v_op='';
                $cl_exp='';
开发者ID:andreabia,项目名称:gazie,代码行数:31,代码来源:print_partner_status.php

示例3: DateTime

       if(substr($a["codice"],0,3) == $casse) { // è un pagamento in contanti/assegno
          $_POST['print_ticket'] = " checked";
       } else {
          $_POST['print_ticket'] = "";
       }
    }
    echo "\t\t <option value=\"".$a["codice"]."\" $sel >".$a["codice"]." - ".$a["descri"]."</option>\n";
}
echo "\t </select></td>\n";
echo "<td class=\"FacetDataTD\">".$script_transl['print_ticket']."<input type=\"checkbox\" title=\"Per stampare la ricevuta seleziona questa checkbox\" name=\"print_ticket\" ".$_POST['print_ticket']." ></td>\n";
echo "</tr>";
echo "</table>\n";
if ($form['partner']>100000000) { // partner selezionato
   // ottengo il valore del saldo contabile per confrontarlo con quello dello scedenziario
   $acc_bal=$paymov->getPartnerAccountingBalance($form['partner'],$date);
   $paymov->getPartnerStatus($form['partner'],$date);
   $kd_paymov = 0;
   $date_ctrl = new DateTime($date);
   $saldo=0.00;
   echo "<table class=\"Tlarge\">\n";
   echo "<tr>";
   echo "<td colspan='8'>".$script_transl['accbal'].gaz_format_number($acc_bal)."</td>";
   echo "<tr>";
   $linkHeaders = new linkHeaders($script_transl['header']);
   $linkHeaders -> output();
   echo "</tr>\n";
   $paymov_bal=0.00;
   foreach ($paymov->PartnerStatus as $k=>$v){
      $amount=0.00;
      echo "<tr>";
      echo "<td class=\"FacetDataTD\" colspan='8'><a class=\"btn btn-xs btn-default btn-edit\" href=\"../contab/admin_movcon.php?Update&id_tes=".$paymov->docData[$k]['id_tes']."\"><i class=\"glyphicon glyphicon-edit\"></i>".
开发者ID:andreabia,项目名称:gazie,代码行数:31,代码来源:customer_payment.php


注:本文中的Schedule::getPartnerStatus方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。