Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 277 | Revision 280 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 277 Revision 279
Zeile 64... Zeile 64...
64
                    "kennung"      => $row->Kennung,
64
                    "kennung"      => $row->Kennung,
65
                    "description"  => $row->Beschreibung,
65
                    "description"  => $row->Beschreibung,
66
                    "short_line_1" => $row->short_line_1,
66
                    "short_line_1" => $row->short_line_1,
67
                    "url"          => $row->url,
67
                    "url"          => $row->url,
68
                    "created_at"   => $row->erstellt_am,
68
                    "created_at"   => $row->erstellt_am,
-
 
69
                    "created_by"   => $row->erstellt_von,
-
 
70
                    "updated_by"   => $row->letzte_Aenderung_von,
69
                    "updated_at"   => $row->letzte_Aenderung_am,
71
                    "updated_at"   => $row->letzte_Aenderung_am,
70
                ] );
72
                ] );
71
            }
73
            }
72
        }
74
        }
Zeile 92... Zeile 94...
92
                $dir->status = $row->status;
94
                $dir->status = $row->status;
93
                $dir->kennung = $row->kennung;
95
                $dir->kennung = $row->kennung;
94
                $dir->description = $row->beschreibung;
96
                $dir->description = $row->beschreibung;
95
                $dir->created_at = $row->erstellt_am;
97
                $dir->created_at = $row->erstellt_am;
96
                $dir->updated_at = $row->letzte_Aenderung_am;
98
                $dir->updated_at = $row->letzte_Aenderung_am;
-
 
99
                $dir->created_by = $row->erstellt_von;
-
 
100
                $dir->updated_by = $row->letzte_Aenderung_von;
97
                $dir->save();
101
                $dir->save();
98
            }
102
            }
99
            $sql = "
103
            $sql = "
100
                SELECT
104
                SELECT
101
                    p.*
105
                    p.*
Zeile 115... Zeile 119...
115
                    "item_id"     => $price->artikel_id,
119
                    "item_id"     => $price->artikel_id,
116
                    "preis_index" => $price->preis_index,
120
                    "preis_index" => $price->preis_index,
117
                    "preis"       => $price->preis,
121
                    "preis"       => $price->preis,
118
                    "staffel"     => $price->staffel,
122
                    "staffel"     => $price->staffel,
119
                    "created_at"  => $price->geaendert_am,
123
                    "created_at"  => $price->geaendert_am,
-
 
124
                    "created_by"  => $row->erstellt_von,
-
 
125
                    "updated_by"  => $row->letzte_Aenderung_von,
120
                    "updated_at"  => $price->geaendert_am
126
                    "updated_at"  => $price->geaendert_am
121
                ] );
127
                ] );
122
            }
128
            }
Zeile 123... Zeile 129...
123
 
129
 
Zeile 143... Zeile 149...
143
                $actionDB->config = $action->config;
149
                $actionDB->config = $action->config;
144
                $actionDB->category = $action->Kategorie;
150
                $actionDB->category = $action->Kategorie;
145
                $actionDB->notes = $action->notizen;
151
                $actionDB->notes = $action->notizen;
146
                $actionDB->valid_from = $action->von;
152
                $actionDB->valid_from = $action->von;
147
                $actionDB->valid_to = $action->bis;
153
                $actionDB->valid_to = $action->bis;
-
 
154
                $actionDB->created_by = $action->erstellt_von;
-
 
155
                $actionDB->updated_by = $action->letzte_Aenderung_von;
148
                $actionDB->save();
156
                $actionDB->save();
149
            }
157
            }
150
        }
158
        }
Zeile 151... Zeile 159...
151
 
159
 
Zeile 169... Zeile 177...
169
                $mediumDB->description = $medium->beschreibung;
177
                $mediumDB->description = $medium->beschreibung;
170
                if ( $medium->erstellt_am )
178
                if ( $medium->erstellt_am )
171
                {
179
                {
172
                    $mediumDB->created_at = date( "Y-m-d H:i:s", $medium->erstellt_am );
180
                    $mediumDB->created_at = date( "Y-m-d H:i:s", $medium->erstellt_am );
173
                }
181
                }
-
 
182
                $mediumDB->created_by = $medium->erstellt_von;
-
 
183
                $mediumDB->updated_by = $medium->letzte_Aenderung_von;
174
                $mediumDB->save();
184
                $mediumDB->save();
175
            }
185
            }
176
        }
186
        }
177
    }
187
    }