예제 #1
0
                                        $cust_user_name = $cust_user_add[0]['cus_fname'].' '.$cust_user_add[0]['cus_lname'];
                                        $cust_mail_id   = $cust_user_add[0]['cus_email'];
                                        $cust_phone_num = $cust_user_add[0]['cus_contact_phone'];
                                        echo $cust_user_name . '<br>' . $cust_mail_id . '<br>' . $cust_phone_num. '<br>Date: '. date('m-d-Y h:i A', time());                    
                                        ?>                   
                                    </div>                
                                    <!-- Customer User Details End --> 


                                    <div style="float: left;width: 65%;margin-left: 30px;margin-top: 7px;font-weight: bold;">PACKING LIST: </div>
                                    <div style="float: left;width: 80%;margin-left: 30px;margin-top: 5px;">
                                        <?php
                                        $cust_original_order    = EnteredPlotRecipientsMulti($user_session_comp, $user_session, $job_reference_final[0]['id']);
                                        $cust_original_order_final = SetsOrderedFinalizeOriginal($job_reference_final[0]['id']);
                                        
                                        $total_sets_plott       =  SetsOrderedFinalizeCountOfSets($job_reference_final[0]['id']); 
                                        $total_sets_arch        =  SetsOrderedFinalizeCountOfSetsArch($job_reference_final[0]['id']); 
                                        
                                        $total_plot_needed      =  ($total_sets_plott[0]['total_sets'] != '0') ? $total_sets_plott[0]['total_sets'] : $total_sets_arch[0]['total_sets'];
                                        $cust_needed_sets       = ($cust_original_order[0]['print_ea'] != '0') ? $cust_original_order[0]['print_ea'] : $cust_original_order[0]['arch_needed'];
                                        $cust_order_type        = ($cust_original_order[0]['arch_needed'] != '0') ? 'Architectural Copies' : 'Plotting on Bond';
                                        $option                 = ($cust_original_order[0]['arch_needed'] != '0') ? 'Pickup Options:' : 'File Options:';  
                                        
                                        //$cust_original_oo       = EnteredPlotRecipients($user_session_comp, $user_session);
                    
                                        $cust_needed_originals_oo  = $cust_original_order_final[0]['origininals'];
                                        $cust_needed_originals_oo_1  = $cust_original_order_final[1]['origininals'];
                                        
                                        ?>
                                        <table border="1" style="width: 100%;">
                                            <tr bgcolor="#BFC5CD">
예제 #2
0
 $cust_add_2 = ($cust_add[0]['comp_business_address2'] != '') ? $cust_add[0]['comp_business_address2'] . ',<br>' : '';
 $message .= $cust_add[0]['comp_name'] . '<br>' . $cust_add[0]['comp_business_address1'] . ',<br>' . $cust_add_2 . $cust_add[0]['comp_city'] . ',&nbsp;' . $cust_add[0]['comp_state'] . '&nbsp;' . $cust_add[0]['comp_zipcode'].'<br>'.$cust_add[0]['phone'];
 $message .= '</div>';
 $message .= '<div style="float: left;width: 65%;margin-left: 30px;margin-top: 7px;font-weight: bold;">User Details :</div>';
 $message .= '<div style="float: left;width: 33%;margin-left: 30px;">';
 $cust_user_add = UserLoginDtls($_SESSION['sohorepro_userid']);
 $cust_user_name = $cust_user_add[0]['cus_fname'] . '&nbsp;' . $cust_user_add[0]['cus_lname'];
 $cust_mail_id = $cust_user_add[0]['cus_email'];
 $cust_phone_num = $cust_user_add[0]['cus_contact_phone'];
 $message .= $cust_user_name . '<br>' . $cust_mail_id . '<br>' . $cust_phone_num . '<br>Date :' . date('m-d-Y h:i A', time());
 $message .= '</div>';
 $message .= '<div style="float: left;width: 65%;margin-left: 30px;margin-top: 7px;font-weight: bold;">PACKING LIST:</div>';
 $message .= '<div style="float: left;width: 85%;margin-left: 30px;margin-top: 5px;">';
 //$cust_original_order = SetsOrderedFinalize($job_reference_final[0]['id']);
 $cust_original_order = EnteredPlotRecipientsMulti($user_session_comp, $user_session, $job_reference_final[0]['id']);
 $total_plot_needed = SetsOrderedFinalizeCountOfSets($job_reference_final[0]['id']);
 $cust_original_order_final = SetsOrderedFinalizeOriginal($job_reference_final[0]['id']);
 $upload_file_exist = UploadFileExistFinalize($_SESSION['sohorepro_companyid'], $_SESSION['sohorepro_userid'], $job_reference_final[0]['id']);
 $cust_needed_sets = ($cust_original_order[0]['print_ea'] != '0') ? $cust_original_order[0]['print_ea'] : $cust_original_order[0]['arch_needed'];
 $cust_order_type = ($cust_original_order[0]['arch_needed'] != '0') ? 'Architectural Copies' : 'Plotting on Bond';
 $option          = ($cust_original_order[0]['arch_needed'] != '0') ? 'Pickup Options:' : 'File Options:';  
 $message .= '<table border="0" style="width: 100%;">';
 $message .= '<tr bgcolor="#F99B3E">';
 $message .= '<td style="font-weight: bold;">Option</td>'; 
 $message .= '<td style="font-weight: bold;">Originals</td>';
 $message .= '<td style="font-weight: bold;">Sets</td>';
 $message .= '<td style="font-weight: bold;">Order Type</td>';
 $message .= '<td style="font-weight: bold;">Size</td>';
 $message .= '<td style="font-weight: bold;">Output</td>';
 $message .= '<td style="font-weight: bold;">Media</td>';
 $message .= '<td style="font-weight: bold;">Binding</td>';